on mac, QUAD_MIN and QUAD_MAX are already defined, so this causes a bunch
authorRussell Bryant <russell@russellbryant.com>
Mon, 8 May 2006 20:50:43 +0000 (20:50 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 8 May 2006 20:50:43 +0000 (20:50 +0000)
of warnings

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25684 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/ael_structs.h

index 104f974..1d5dce2 100644 (file)
@@ -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