[Groonga-commit] groonga/groonga at 50aa0e9 [master] windows: simplify

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Aug 8 22:58:41 JST 2015


Kouhei Sutou	2015-08-08 22:58:41 +0900 (Sat, 08 Aug 2015)

  New Revision: 50aa0e97924e7f667d5baa8fbb5c8398704ce6b2
  https://github.com/groonga/groonga/commit/50aa0e97924e7f667d5baa8fbb5c8398704ce6b2

  Message:
    windows: simplify

  Modified files:
    lib/grn.h

  Modified: lib/grn.h (+4 -4)
===================================================================
--- lib/grn.h    2015-08-08 22:58:06 +0900 (d3e5fd4)
+++ lib/grn.h    2015-08-08 22:58:41 +0900 (11e4965)
@@ -23,12 +23,12 @@
 # include <config.h>
 #endif /* HAVE_CONFIG_H */
 
-#if defined(WIN32) && defined(__GNUC__)
-# define __MINGW_MSVC_COMPAT_WARNINGS
-#endif /* defined(WIN32) && defined(__GNUC__) */
-
 #ifdef WIN32
 # ifdef __GNUC__
+#  define __MINGW_MSVC_COMPAT_WARNINGS
+# endif /* __GNUC__ */
+
+# ifdef __GNUC__
 #  include <w32api.h>
 #  define GRN_MINIMUM_WINDOWS_VERSION WindowsVista
 # else /* __GNUC__ */
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index