diff options
-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 { |