[Groonga-commit] groonga/groonga [master] fix wrong #ifndefs in dat.hpp. Thanks to Toshihisa Tashiro.

Back to archive index

null+****@clear***** null+****@clear*****
2012年 2月 23日 (木) 19:46:07 JST


Susumu Yata	2012-02-23 19:46:07 +0900 (Thu, 23 Feb 2012)

  New Revision: ca2d1d0699070e5e3fbcbd17e0fd11b7bc56c88c

  Log:
    fix wrong #ifndefs in dat.hpp. Thanks to Toshihisa Tashiro.

  Modified files:
    lib/dat/dat.hpp

  Modified: lib/dat/dat.hpp (+3 -3)
===================================================================
--- lib/dat/dat.hpp    2012-02-23 19:19:48 +0900 (29fcd0e)
+++ lib/dat/dat.hpp    2012-02-23 19:46:07 +0900 (4921b96)
@@ -48,15 +48,15 @@ typedef ::uint64_t UInt64;
 const UInt8 UINT8_MAX = static_cast<UInt8>(0xFFU);
 #endif  // UINT8_MAX
 
-#ifndef UINT8_MAX
+#ifndef UINT16_MAX
 const UInt16 UINT16_MAX = static_cast<UInt16>(0xFFFFU);
 #endif  // UINT16_MAX
 
-#ifndef UINT8_MAX
+#ifndef UINT32_MAX
 const UInt32 UINT32_MAX = static_cast<UInt32>(0xFFFFFFFFU);
 #endif  // UINT32_MAX
 
-#ifndef UINT8_MAX
+#ifndef UINT64_MAX
 const UInt64 UINT64_MAX = static_cast<UInt64>(0xFFFFFFFFFFFFFFFFULL);
 #endif  // UINT64_MAX
 




Groonga-commit メーリングリストの案内
Back to archive index