diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-07-13 08:01:45 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-07-13 08:01:45 +0000 |
commit | 215b7f2747b8b8d8c4a4c7afd36acce031c8a02c (patch) | |
tree | 5ce828b4bc1f9addadd597fd501c496d0c0f76bc /src | |
parent | f02872df11af51531363a953d56ccb98bef79536 (diff) |
incorporated jamie's os-X magic for sqrtf
svn path=/trunk/externals/zexy/; revision=3340
Diffstat (limited to 'src')
-rw-r--r-- | src/zexy.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -55,8 +55,11 @@ #endif #ifdef __APPLE__ -# define sqrtf sqrt -#endif +# include <AvailabilityMacros.h> +# if defined (MAC_OS_X_VERSION_10_3) && MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_3 +# define sqrtf sqrt +# endif /* OSX-10.3 */ +#endif /* APPLE */ typedef struct _mypdlist { |