From 5c1fcb168dde7299ff173372f100a68c88771f72 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 15 Nov 2005 06:16:39 +0000 Subject: minor compile fixes for Mac OS X and MinGW svn path=/trunk/externals/ext13/; revision=3910 --- streamin13~.c | 3 +-- streamout13~.c | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/streamin13~.c b/streamin13~.c index c950b0e..1ddfbe8 100644 --- a/streamin13~.c +++ b/streamin13~.c @@ -17,8 +17,7 @@ #include #endif - - +/* these pragmas are only used for MSVC, not MinGW or Cygwin */ #ifdef _MSC_VER #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) diff --git a/streamout13~.c b/streamout13~.c index 15b7440..02dc92f 100644 --- a/streamout13~.c +++ b/streamout13~.c @@ -13,6 +13,11 @@ #include #endif +#ifdef __APPLE__ +#include +#endif + +/* these pragmas are only used for MSVC, not MinGW or Cygwin */ #ifdef _MSC_VER #pragma warning( disable : 4244 ) #pragma warning( disable : 4305 ) -- cgit v1.2.1