trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject svn commit: r989963 - /trafficserver/traffic/trunk/libinktomi++/ink_port.h
Date Thu, 26 Aug 2010 22:43:29 GMT
Author: zwoop
Date: Thu Aug 26 22:43:29 2010
New Revision: 989963

URL: http://svn.apache.org/viewvc?rev=989963&view=rev
Log:
Dirty hack for Macs, to make sure it gets the INTU64_MAX definition

Modified:
    trafficserver/traffic/trunk/libinktomi++/ink_port.h

Modified: trafficserver/traffic/trunk/libinktomi++/ink_port.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/libinktomi%2B%2B/ink_port.h?rev=989963&r1=989962&r2=989963&view=diff
==============================================================================
--- trafficserver/traffic/trunk/libinktomi++/ink_port.h (original)
+++ trafficserver/traffic/trunk/libinktomi++/ink_port.h Thu Aug 26 22:43:29 2010
@@ -48,13 +48,16 @@ typedef long long int64;
 typedef unsigned long long uint64;
 
 #ifndef INT64_MIN
-#define INTU64_MAX (18446744073709551615ULL)
 #define INT64_MAX (9223372036854775807LL)
 #define INT64_MIN (-INT64_MAX -1LL)
 #define INTU32_MAX (4294967295U)
 #define INT32_MAX (2147483647)
 #define INT32_MIN (-2147483647-1)
 #endif
+// Hack for MacOSX, have to take this out of the group above.
+#ifndef INTU64_MAX
+#define INTU64_MAX (18446744073709551615ULL)
+#endif
 
 #define POSIX_THREAD
 #define POSIX_THREAD_10031c



Mime
View raw message