]>
Dogcows Code - chaz/yoink/blob - portability_fixes.cpp
5b49e0c82002d5b0ba915d54247bc1a91d602dc4
1 ////////////////////////////////////////////////////////////////////////////////
3 // Author: Andy Rushton
4 // Copyright: (c) Southampton University 1999-2004
5 // (c) Andy Rushton 2004-2009
6 // License: BSD License, see ../docs/license.html
8 ////////////////////////////////////////////////////////////////////////////////
9 #include "portability_fixes.hpp"
15 ////////////////////////////////////////////////////////////////////////////////
16 // problems with missing functions
17 ////////////////////////////////////////////////////////////////////////////////
20 unsigned sleep(unsigned seconds
)
23 // should return remaining time if interrupted - however Windoze Sleep cannot be interrupted
28 ////////////////////////////////////////////////////////////////////////////////
29 // Function for establishing endian-ness
30 ////////////////////////////////////////////////////////////////////////////////
32 bool stlplus::little_endian(void)
35 char* sample_bytes
= (char*)&sample
;
36 return sample_bytes
[0] != 0;
39 ////////////////////////////////////////////////////////////////////////////////
This page took 0.036102 seconds and 3 git commands to generate.