Fixed: Include AvailabilityMacros.h before using macro MAC_OS_X_VERSION_10_6

This commit is contained in:
kervala 2015-11-09 12:45:34 +01:00
parent d4d12f2c81
commit 95f7448dd2

View file

@ -101,9 +101,9 @@
#include "nel/3d/index_buffer.h" #include "nel/3d/index_buffer.h"
#ifdef NL_OS_MAC #ifdef NL_OS_MAC
#include <AvailabilityMacros.h>
#if defined(MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 #if defined(MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
#define NL_MAC_VERSION_10_6_UP #define NL_MAC_VERSION_10_6_UP
#else
#endif #endif
#endif #endif