[Groonga-commit] groonga/groonga [master] [dat] make buildable on MinGW.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 7月 29日 (金) 00:46:48 JST


Kouhei Sutou	2011-07-28 15:46:48 +0000 (Thu, 28 Jul 2011)

  New Revision: e815ac6fd9b72a4290318286283cc03c11267a6f

  Log:
    [dat] make buildable on MinGW.

  Modified files:
    lib/dat/dat.hpp

  Modified: lib/dat/dat.hpp (+5 -0)
===================================================================
--- lib/dat/dat.hpp    2011-07-27 14:44:52 +0000 (810de75)
+++ lib/dat/dat.hpp    2011-07-28 15:46:48 +0000 (1f239d9)
@@ -106,6 +106,11 @@ const UInt32 EXCEPT_UPPER_BOUND   = 0x02000;
 const UInt32 EXCEPT_EXACT_MATCH   = 0x04000;
 const UInt32 CURSOR_OPTIONS_MASK  = 0xFF000;
 
+// for x86_64-w64-mingw32
+#ifdef NO_ERROR
+#  undef NO_ERROR
+#endif // NO_ERROR
+
 // To be determined...
 enum ErrorCode {
   NO_ERROR          =  0,




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