[asterisk-commits] branch 1.2 r13279 - in /branches/1.2: ast_expr2.c ast_expr2.y

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Mar 16 13:05:02 MST 2006


Author: tilghman
Date: Thu Mar 16 14:05:00 2006
New Revision: 13279

URL: http://svn.digium.com/view/asterisk?rev=13279&view=rev
Log:
Bug 6737 - Fix compile warning on OS X

Modified:
    branches/1.2/ast_expr2.c
    branches/1.2/ast_expr2.y

Modified: branches/1.2/ast_expr2.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/ast_expr2.c?rev=13279&r1=13278&r2=13279&view=diff
==============================================================================
--- branches/1.2/ast_expr2.c (original)
+++ branches/1.2/ast_expr2.c Thu Mar 16 14:05:00 2006
@@ -142,10 +142,10 @@
 #include <asterisk/ast_expr.h>
 #include <asterisk/logger.h>
 
-#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
 

Modified: branches/1.2/ast_expr2.y
URL: http://svn.digium.com/view/asterisk/branches/1.2/ast_expr2.y?rev=13279&r1=13278&r2=13279&view=diff
==============================================================================
--- branches/1.2/ast_expr2.y (original)
+++ branches/1.2/ast_expr2.y Thu Mar 16 14:05:00 2006
@@ -29,10 +29,10 @@
 #include <asterisk/ast_expr.h>
 #include <asterisk/logger.h>
 
-#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