commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r763715 - /commons/sandbox/runtime/trunk/src/main/native/include/acr_private.h
Date Thu, 09 Apr 2009 16:11:21 GMT
Author: mturk
Date: Thu Apr  9 16:11:20 2009
New Revision: 763715

URL: http://svn.apache.org/viewvc?rev=763715&view=rev
Log:
Undef min/max macros

Modified:
    commons/sandbox/runtime/trunk/src/main/native/include/acr_private.h

Modified: commons/sandbox/runtime/trunk/src/main/native/include/acr_private.h
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/acr_private.h?rev=763715&r1=763714&r2=763715&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/include/acr_private.h (original)
+++ commons/sandbox/runtime/trunk/src/main/native/include/acr_private.h Thu Apr  9 16:11:20
2009
@@ -38,6 +38,13 @@
 /** Default alignment */
 #define ACR_ALIGN_DEFAULT(size) ACR_ALIGN(size, 8)
 
+/* undef min/max macros
+ * They break our function names
+ */
+#undef min
+#undef max
+#undef MIN
+#undef MAX
 
 #define ACR_MIN(a, b) ((a) < (b) ? (a) : (b))
 #define ACR_MAX(a, b) ((a) > (b) ? (a) : (b))



Mime
View raw message