diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-15 19:46:57 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-15 19:46:57 +0000 |
commit | 6f7cb5d2e8fddcd324374e0de6f3c89b4d005482 (patch) | |
tree | a4571e3a1776437a30b66696778eb88958104168 /include/asterisk/compat.h | |
parent | 56f4cd372557815f7af0c7e0d9beb646547f1542 (diff) |
Define LLONG_MAX on systems that do not have it.
(closes issue #17644)
Reported by: pprindeville
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276769 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r-- | include/asterisk/compat.h | 4 |
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 |