[Groonga-commit] groonga/groonga at 5dbd201 [master] Use ifndef

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Dec 20 18:16:29 JST 2013


Kouhei Sutou	2013-12-20 18:16:29 +0900 (Fri, 20 Dec 2013)

  New Revision: 5dbd201ac460b2b8fe79a0a64a978dbcca788122
  https://github.com/groonga/groonga/commit/5dbd201ac460b2b8fe79a0a64a978dbcca788122

  Message:
    Use ifndef

  Modified files:
    lib/geo.h

  Modified: lib/geo.h (+2 -2)
===================================================================
--- lib/geo.h    2013-12-20 18:16:05 +0900 (d790181)
+++ lib/geo.h    2013-12-20 18:16:29 +0900 (85e7046)
@@ -26,11 +26,11 @@
 
 #ifdef WIN32
 #define _USE_MATH_DEFINES
-# if !defined MAX
+# ifndef MAX
 #  define MAX(a, b) ((a) > (b) ? (a) : (b))
 # endif
 
-# if !defined MIN
+# ifndef MIN
 #  define MIN(a, b) ((a) < (b) ? (a) : (b))
 # endif
 #endif /* WIN32 */
-------------- next part --------------
HTML����������������������������...
Download 



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