[Groonga-commit] groonga/groonga at 832ab57 [master] Add missing Visual C++ check

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jun 29 13:34:28 JST 2014


Kouhei Sutou	2014-06-29 13:34:28 +0900 (Sun, 29 Jun 2014)

  New Revision: 832ab570fa6a928288372c64d4dce03ee1e56ec7
  https://github.com/groonga/groonga/commit/832ab570fa6a928288372c64d4dce03ee1e56ec7

  Message:
    Add missing Visual C++ check

  Modified files:
    lib/str.c

  Modified: lib/str.c (+1 -1)
===================================================================
--- lib/str.c    2014-06-29 13:24:21 +0900 (cf96cbd)
+++ lib/str.c    2014-06-29 13:34:28 +0900 (08cdbe0)
@@ -28,7 +28,7 @@
 #include <math.h>
 
 /* For Visual C++ 2010. Drop the code when we drop Visual C++ 2010 support. */
-#if _MSC_VER < 1800
+#if defined(_MSC_VER) && _MSC_VER < 1800
 # define va_copy(destination, source) destination = source
 #endif
 
-------------- next part --------------
HTML����������������������������...
Download 



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