summaryrefslogtreecommitdiff
path: root/include/asterisk/compat.h
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-07-15 19:46:57 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-07-15 19:46:57 +0000
commit753fa3b278e8c7f78956ccb299bd1f74a8a7fdfd (patch)
treea4571e3a1776437a30b66696778eb88958104168 /include/asterisk/compat.h
parente2ff55122d36c1190599be67d8e0ffb306c231bd (diff)
Define LLONG_MAX on systems that do not have it.
(closes issue #17644) Reported by: pprindeville git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r--include/asterisk/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index c1f9632e7..22daeaef9 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -73,6 +73,10 @@
#include "asterisk/poll-compat.h"
#endif
+#ifndef HAVE_LLONG_MAX
+#define LLONG_MAX 9223372036854775807LL
+#endif
+
#ifndef HAVE_CLOSEFROM
void closefrom(int lowfd);
#endif