openalbridge/openalwrap.h
changeset 2210 1cb7118a77dd
parent 2200 8192be6e3aef
child 2211 288360b78f30
--- a/openalbridge/openalwrap.h	Mon Jun 29 00:58:32 2009 +0000
+++ b/openalbridge/openalwrap.h	Mon Jun 29 03:47:39 2009 +0000
@@ -33,29 +33,6 @@
 #include "winstdint.h"
 #endif
 
-#ifndef _SLEEP_H
-#define _SLEEP_H
-/** 1.0 02/03/10 - Defines cross-platform sleep, usleep, etc. * By Wu Yongwei **/
-#ifdef _WIN32
-# if defined(_NEED_SLEEP_ONLY) && (defined(_MSC_VER) || defined(__MINGW32__))
-#  include <stdlib.h>
-#  define sleep(t) _sleep((t) * 1000)
-# else
-#  include <windows.h>
-#  define sleep(t)  Sleep((t) * 1000)
-# endif
-# ifndef _NEED_SLEEP_ONLY
-#  define msleep(t) Sleep(t)
-#  define usleep(t) Sleep((t) / 1000)
-# endif
-#else
-# include <unistd.h>
-# ifndef _NEED_SLEEP_ONLY
-#  define msleep(t) usleep((t) * 1000)
-# endif
-#endif
-
-#endif /* _SLEEP_H */
 
 #ifdef __CPLUSPLUS
 extern "C" {