aboutsummaryrefslogtreecommitdiffstats
path: root/ast_expr2.y
diff options
context:
space:
mode:
Diffstat (limited to 'ast_expr2.y')
-rw-r--r--ast_expr2.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/ast_expr2.y b/ast_expr2.y
index ef3289bc1..728800d27 100644
--- a/ast_expr2.y
+++ b/ast_expr2.y
@@ -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