[Groonga-commit] groonga/groonga at 340085f [master] Fix a build error on OS X

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Sun Nov 30 22:32:34 JST 2014


Kouhei Sutou	2014-11-30 22:32:34 +0900 (Sun, 30 Nov 2014)

  New Revision: 340085f132c640f03e32a7878f0bd31de9f74eaa
  https://github.com/groonga/groonga/commit/340085f132c640f03e32a7878f0bd31de9f74eaa

  Message:
    Fix a build error on OS X
    
    GitHub: fix #254
    
    Reported by Hiroshi Hatake. Thanks!!!

  Modified files:
    lib/ii.c

  Modified: lib/ii.c (+4 -0)
===================================================================
--- lib/ii.c    2014-11-30 22:26:48 +0900 (8f9f9a8)
+++ lib/ii.c    2014-11-30 22:32:34 +0900 (e82dc7f)
@@ -37,6 +37,10 @@
 # include <oniguruma.h>
 #endif
 
+#ifndef O_DIRECT
+# define O_DIRECT 0
+#endif
+
 #define MAX_PSEG                 0x20000
 #define S_CHUNK                  (1 << GRN_II_W_CHUNK)
 #define W_SEGMENT                18
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る