[asterisk-commits] trunk r25684 - /trunk/include/asterisk/ael_structs.h

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon May 8 13:50:43 MST 2006


Author: russell
Date: Mon May  8 15:50:43 2006
New Revision: 25684

URL: http://svn.digium.com/view/asterisk?rev=25684&view=rev
Log:
on mac, QUAD_MIN and QUAD_MAX are already defined, so this causes a bunch
of warnings

Modified:
    trunk/include/asterisk/ael_structs.h

Modified: trunk/include/asterisk/ael_structs.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/ael_structs.h?rev=25684&r1=25683&r2=25684&view=diff
==============================================================================
--- trunk/include/asterisk/ael_structs.h (original)
+++ trunk/include/asterisk/ael_structs.h Mon May  8 15:50:43 2006
@@ -7,10 +7,10 @@
 #define quad_t int64_t
 #endif
 
-#ifdef LONG_LONG_MIN
+#if defined(LONG_LONG_MIN) && !defined(QUAD_MIN)
 #define QUAD_MIN LONG_LONG_MIN
 #endif
-#ifdef LONG_LONG_MAX
+#if defined(LONG_LONG_MAX) && !defined(QUAD_MAX)
 #define QUAD_MAX LONG_LONG_MAX
 #endif
 



More information about the asterisk-commits mailing list