diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-11-04 14:05:12 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-11-04 14:05:12 +0000 |
commit | d8e0c584372c51b585a52efbe2375861bc09bdcf (patch) | |
tree | dd3bc244b8a45aacb932109dc8c12d1f21769d55 /include/asterisk/compat.h | |
parent | 6a50e7a031f4d424aa8bd3293aa48501f7b96652 (diff) |
Expand codec bitfield from 32 bits to 64 bits.
Reviewboard: https://reviewboard.asterisk.org/r/416/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@227580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r-- | include/asterisk/compat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index fac1079c8..8f2512a28 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -81,6 +81,14 @@ int __attribute__((format(printf, 2, 3))) asprintf(char **str, const char *fmt, int getloadavg(double *list, int nelem); #endif +#ifndef HAVE_HTONLL +uint64_t htonll(uint64_t host64); +#endif + +#ifndef HAVE_NTOHLL +uint64_t ntohll(uint64_t net64); +#endif + #ifndef HAVE_SETENV int setenv(const char *name, const char *value, int overwrite); #endif |