Parent Directory | Revision Log | Patch
revision 1530 by schoenebeck, Sun Oct 14 22:00:17 2007 UTC | revision 1531 by senoner, Tue Nov 27 18:03:13 2007 UTC | |
---|---|---|
# | Line 35 | Line 35 |
35 | ||
36 | typedef std::string String; | typedef std::string String; |
37 | ||
38 | #if defined(WIN32) | |
39 | #include <windows.h> | |
40 | #define usleep(a) Sleep(a/1000) | |
41 | #define sleep(a) Sleep(a*1000) | |
42 | typedef unsigned int uint; | |
43 | // FIXME: define proper functions which do proper alignement under Win32 | |
44 | #define alignedMalloc(a,b) malloc(b) | |
45 | #define alignedFree(a) free(a) | |
46 | #else | |
47 | // needed for usleep under POSIX | |
48 | #include <stdio.h> | |
49 | #endif | |
50 | ||
51 | ||
52 | #endif // __LS_GLOBAL_H__ | #endif // __LS_GLOBAL_H__ |
|
ViewVC Help | |
Powered by ViewVC |