[Groonga-commit] groonga/groonga [master] Remove macros, sleep() and usleep().

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 8日 (火) 13:05:13 JST


Susumu Yata	2012-05-08 13:05:13 +0900 (Tue, 08 May 2012)

  New Revision: a8e438b925d1962acff4318d06166929a15bb1a7

  Log:
    Remove macros, sleep() and usleep().

  Modified files:
    lib/groonga_in.h

  Modified: lib/groonga_in.h (+0 -2)
===================================================================
--- lib/groonga_in.h    2012-05-08 13:00:41 +0900 (8279a07)
+++ lib/groonga_in.h    2012-05-08 13:05:13 +0900 (10146e6)
@@ -127,8 +127,6 @@
 #if !defined(__GNUC__) && _MSC_VER < 1400
 # define fstat(fd, buf) _fstat(fd, buf)
 #endif /* !defined(__GNUC__) && _MSC_VER < 1400 */
-#define usleep(x) Sleep((x) / 1000)
-#define sleep(x)  Sleep((x) * 1000)
 #if !defined(strcasecmp)
 #  define strcasecmp(s1, s2) stricmp(s1, s2)
 #endif /* !defined(strcasecmp) */




Groonga-commit メーリングリストの案内
Back to archive index