[Groonga-commit] groonga/groonga at 74ef2b0 [master] windows mingw: enable warning

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Apr 18 15:57:08 JST 2015


Kouhei Sutou	2015-04-18 15:57:08 +0900 (Sat, 18 Apr 2015)

  New Revision: 74ef2b07aae3d378659afb1d81fd82fc76339660
  https://github.com/groonga/groonga/commit/74ef2b07aae3d378659afb1d81fd82fc76339660

  Message:
    windows mingw: enable warning

  Modified files:
    lib/grn.h

  Modified: lib/grn.h (+4 -0)
===================================================================
--- lib/grn.h    2015-04-18 15:56:23 +0900 (119bcfd)
+++ lib/grn.h    2015-04-18 15:57:08 +0900 (e58a02a)
@@ -23,6 +23,10 @@
 # include <config.h>
 #endif /* HAVE_CONFIG_H */
 
+#if defined(WIN32) && defined(__GNUC__)
+# define __MINGW_MSVC_COMPAT_WARNINGS
+#endif /* defined(WIN32) && defined(__GNUC__) */
+
 #ifdef __cplusplus
 # define __STDC_LIMIT_MACROS
 #endif
-------------- next part --------------
HTML����������������������������...
Descargar 



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