From 9dd67c7311b245bb138545f097b60b07bb4976b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Sat, 10 Nov 2007 18:01:10 +0000 Subject: disabled warnings for functions deprecated in M$ studio 2005 svn path=/trunk/externals/zexy/; revision=8978 --- src/zexy.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/zexy.h') diff --git a/src/zexy.h b/src/zexy.h index d83dfe6..dfc4945 100644 --- a/src/zexy.h +++ b/src/zexy.h @@ -66,13 +66,20 @@ # pragma warning( disable : 4018 ) # pragma warning( disable : 4244 ) # pragma warning( disable : 4305 ) +# pragma warning( disable : 4996) /* deprecated functions */ #endif #ifdef __WIN32__ # define HEARTSYMBOL 3 # define STATIC_INLINE -# define sqrtf sqrt -# define fabsf fabs + +# ifndef sqrtf +# define sqrtf sqrt +# endif /* sqrtf */ +# ifndef fabsf +# define fabsf fabs +# endif /* fabsf */ + #else # define HEARTSYMBOL 169 # define STATIC_INLINE static -- cgit v1.2.1