trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r884805 - /incubator/trafficserver/traffic/trunk/libinktomi++/ink_platform.h
Date Fri, 27 Nov 2009 09:37:09 GMT
Author: pquerna
Date: Fri Nov 27 09:37:08 2009
New Revision: 884805

URL: http://svn.apache.org/viewvc?rev=884805&view=rev
Log:
TS-2: INT_MAX is part of limits.h, MAXINT is not. Condintionaly define it if it isn't already
set.

Modified:
    incubator/trafficserver/traffic/trunk/libinktomi++/ink_platform.h

Modified: incubator/trafficserver/traffic/trunk/libinktomi++/ink_platform.h
URL: http://svn.apache.org/viewvc/incubator/trafficserver/traffic/trunk/libinktomi%2B%2B/ink_platform.h?rev=884805&r1=884804&r2=884805&view=diff
==============================================================================
--- incubator/trafficserver/traffic/trunk/libinktomi++/ink_platform.h (original)
+++ incubator/trafficserver/traffic/trunk/libinktomi++/ink_platform.h Fri Nov 27 09:37:08
2009
@@ -165,4 +165,8 @@
 #  include <arpa/nameser_compat.h>
 #endif
 
+#ifndef MAXINT
+#define MAXINT INT_MAX
+#endif
+
 #endif /* _PLATFORM_H_ */



Mime
View raw message