diff options
author | Luigi Rizzo <rizzo@icir.org> | 2008-01-01 22:21:39 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2008-01-01 22:21:39 +0000 |
commit | e637f2c03823576f7146aab58a49276bb55696ff (patch) | |
tree | 66e808c84e679c937cea66e7d01ab75fb1f51fb4 /codecs/codec_resample.c | |
parent | b1c35179e6edda2419d5b99993e89a05b52a4cf7 (diff) |
make codec_resample build on __CYGWIN__, and make it load on FreeBSD
(and probably other systems as well).
Both need libresample.a to be specified in the linking phase,
and cygwin needs <float.h> as other BSD.
The checks for OS-specific headers should really be moved to some
common header though.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95625 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/codec_resample.c')
-rw-r--r-- | codecs/codec_resample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/codec_resample.c b/codecs/codec_resample.c index ce0d60a51..66d60169d 100644 --- a/codecs/codec_resample.c +++ b/codecs/codec_resample.c @@ -29,7 +29,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") /* These are for SHRT_MAX and FLT_MAX -- { */ -#if defined(__Darwin__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) +#if defined(__Darwin__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__CYGWIN__) #include <float.h> #else #include <values.h> |