diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-11-10 18:01:10 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-11-10 18:01:10 +0000 |
commit | 9dd67c7311b245bb138545f097b60b07bb4976b5 (patch) | |
tree | 6e473e70b57964f4e0b39be1afbee318c5b1ac7b | |
parent | 0a00fa0d27971967797f2d93398af129b7471847 (diff) |
disabled warnings for functions deprecated in M$ studio 2005
svn path=/trunk/externals/zexy/; revision=8978
-rw-r--r-- | src/zexy.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 |