6 * miscellaneous OS support macros and functions.
8 * - usleep() (Win32, BeOS, OS/2)
10 * - strcasecmp() (OS/2)
14 __declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds);
15 // # include <windows.h>
16 # define usleep(t) Sleep((t) / 1000)
22 # define usleep(t) snooze((bigtime_t)(t))
26 #if defined(CONFIG_OS2)
28 static inline int usleep(unsigned int t) { return _sleep2(t / 1000); }
29 static inline int strcasecmp(const char* s1, const char* s2) { return stricmp(s1,s2); }
32 #endif /* _OS_SUPPORT_H */