[Groonga-commit] groonga/groonga [master] Fixed that GRN_FMT_LLD was not defined when HAVE_PTHREAD_H is true.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 10月 19日 (火) 00:44:57 JST


Daijiro MORI	2010-10-18 15:44:57 +0000 (Mon, 18 Oct 2010)

  New Revision: b7cf611ff13cfd05338a9dc65c5fe42f1218daa7

  Log:
    Fixed that GRN_FMT_LLD was not defined when HAVE_PTHREAD_H is true.

  Modified files:
    lib/groonga_in.h

  Modified: lib/groonga_in.h (+6 -6)
===================================================================
--- lib/groonga_in.h    2010-10-18 05:56:51 +0000 (1b62443)
+++ lib/groonga_in.h    2010-10-18 15:44:57 +0000 (c6973be)
@@ -365,6 +365,12 @@ typedef int grn_cond;
 
 #endif /* WIN32 */
 
+#define GRN_TEST_YIELD() \
+  do { \
+  } while (0)
+
+#endif /* HAVE_PTHREAD_H */
+
 /* format string for printf */
 #ifdef WIN32
 #define GRN_FMT_LLD "I64d"
@@ -374,12 +380,6 @@ typedef int grn_cond;
 #define GRN_FMT_LLU "llu"
 #endif /* WIN32 */
 
-#define GRN_TEST_YIELD() \
-  do { \
-  } while (0)
-
-#endif /* HAVE_PTHREAD_H */
-
 #ifdef __GNUC__
 
 # if (defined(__i386__) || defined(__x86_64__)) /* ATOMIC ADD */




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