[Groonga-commit] groonga/groonga [master] [windows] really don't rename open method.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 12月 27日 (火) 21:58:57 JST


Kouhei Sutou	2011-12-27 21:58:57 +0900 (Tue, 27 Dec 2011)

  New Revision: 106818437c7eb381b4b3941c1f6f7176477e94fd

  Log:
    [windows] really don't rename open method.

  Modified files:
    lib/dat/file-impl.cpp
    lib/dat/file-impl.hpp

  Modified: lib/dat/file-impl.cpp (+0 -3)
===================================================================
--- lib/dat/file-impl.cpp    2011-12-27 21:52:26 +0900 (3cf029a)
+++ lib/dat/file-impl.cpp    2011-12-27 21:58:57 +0900 (b46a2f7)
@@ -29,9 +29,6 @@
 # ifdef max
 #  undef max
 # endif  // max
-# ifdef open
-#  undef open
-# endif  // open
 #else  // WIN32
 #include <fcntl.h>
 #include <sys/mman.h>

  Modified: lib/dat/file-impl.hpp (+3 -0)
===================================================================
--- lib/dat/file-impl.hpp    2011-12-27 21:52:26 +0900 (617d518)
+++ lib/dat/file-impl.hpp    2011-12-27 21:58:57 +0900 (7d4da15)
@@ -20,6 +20,9 @@
 
 #ifdef WIN32
 #include <windows.h>
+# ifdef open
+#  undef open
+# endif  // open
 #endif  // WIN32
 
 #include "dat.hpp"




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