null+****@clear*****
null+****@clear*****
2012年 5月 9日 (水) 10:09:56 JST
Kouhei Sutou 2012-05-09 10:09:56 +0900 (Wed, 09 May 2012) New Revision: 70ad63ab52a2c6d62d5561b56d8d9256fa47f5fa Log: Move grn_*sleep() declarations to out of #ifdef WIN32 Modified files: lib/groonga_in.h Modified: lib/groonga_in.h (+3 -3) =================================================================== --- lib/groonga_in.h 2012-05-08 21:16:43 +0900 (10146e6) +++ lib/groonga_in.h 2012-05-09 10:09:56 +0900 (0f8be72) @@ -94,6 +94,9 @@ # define GRN_WRITE(fd, buf, count) _write(fd, buf, count) #endif /* HAVE_WRITE */ +GRN_API void grn_sleep(uint32_t seconds); +GRN_API void grn_nanosleep(uint64_t nanoseconds); + #ifdef WIN32 #if defined(__GNUC__) && !defined(WINVER) @@ -148,9 +151,6 @@ #define pid_t int #endif -GRN_API void grn_sleep(uint32_t seconds); -GRN_API void grn_nanosleep(uint64_t nanoseconds); - #undef MSG_WAITALL #define MSG_WAITALL 0 /* before Vista, not supported... */ #define SHUT_RDWR SD_BOTH