[Groonga-mysql-commit] mroonga/mroonga at 640e50a [master] Undefine unused macros

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jun 24 13:56:05 JST 2014


Kouhei Sutou	2014-06-24 13:56:05 +0900 (Tue, 24 Jun 2014)

  New Revision: 640e50a23a19fa258fae7d8ae40fb33bbf5e8482
  https://github.com/mroonga/mroonga/commit/640e50a23a19fa258fae7d8ae40fb33bbf5e8482

  Message:
    Undefine unused macros
    
    They are defined in MySQL 5.5. MySQL 5.6 or later doesn't define them.

  Modified files:
    lib/mrn_time_converter.cpp

  Modified: lib/mrn_time_converter.cpp (+7 -0)
===================================================================
--- lib/mrn_time_converter.cpp    2014-06-23 15:35:08 +0900 (5c7a7e8)
+++ lib/mrn_time_converter.cpp    2014-06-24 13:56:05 +0900 (c61d859)
@@ -26,6 +26,13 @@
 
 #include "mrn_time_converter.hpp"
 
+#ifdef min
+#  define undef min
+#endif
+#ifdef max
+#  define undef max
+#endif
+
 // for debug
 #define MRN_CLASS_NAME "mrn::TimeConverter"
 
-------------- next part --------------
HTML����������������������������...
Download 



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