comparison mac/dw.m @ 1740:2d44ca344863

Test fix for warnings generated in Xcode 4.3... hopefully this still allows 10.5 builds to work.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 19 May 2012 21:44:24 +0000
parents 032c3388dda6
children 535e8c19a13d
comparison
equal deleted inserted replaced
1739:c68ee60fb8b0 1740:2d44ca344863
18 #include <sys/time.h> 18 #include <sys/time.h>
19 #include <sys/stat.h> 19 #include <sys/stat.h>
20 #include <math.h> 20 #include <math.h>
21 21
22 /* Create a define to let us know to include Snow Leopard specific features */ 22 /* Create a define to let us know to include Snow Leopard specific features */
23 #if defined(MAC_OS_X_VERSION_10_6) && ((defined(MAC_OS_X_VERSION_MIN_REQUIRED) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_6) || !defined(MAC_OS_X_VERSION_MIN_REQUIRED)) 23 #if defined(MAC_OS_X_VERSION_10_6) && ((defined(MAC_OS_X_VERSION_MAX_ALLOWED) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6) || !defined(MAC_OS_X_VERSION_MAX_ALLOWED))
24 #define BUILDING_FOR_SNOW_LEOPARD 24 #define BUILDING_FOR_SNOW_LEOPARD
25 #endif 25 #endif
26 26
27 /* Macros to protect access to thread unsafe classes */ 27 /* Macros to protect access to thread unsafe classes */
28 #define DW_MUTEX_LOCK { \ 28 #define DW_MUTEX_LOCK { \