Miodrag Milanovic 11 лет назад
Родитель
Сommit
55fc172129
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      include/bx/macros.h

+ 2 - 2
include/bx/macros.h

@@ -173,9 +173,9 @@
 #endif // BX_COMPILER_
 #endif // BX_COMPILER_
 
 
 ///
 ///
-#if defined(__GNUC__) && defined(__is_pod)
+#if BX_COMPILER_GCC && defined(__is_pod)
 #	define BX_TYPE_IS_POD(t) __is_pod(t)
 #	define BX_TYPE_IS_POD(t) __is_pod(t)
-#elif defined(_MSC_VER)
+#elif BX_COMPILER_MSVC
 #	define BX_TYPE_IS_POD(t) (!__is_class(t) || __is_pod(t))
 #	define BX_TYPE_IS_POD(t) (!__is_class(t) || __is_pod(t))
 #else
 #else
 #	define BX_TYPE_IS_POD(t) false
 #	define BX_TYPE_IS_POD(t) false