Переглянути джерело

- reverted one macro change

Ivan Savenko 12 роки тому
батько
коміт
cb9a750701
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      Global.h

+ 1 - 1
Global.h

@@ -40,7 +40,7 @@ static_assert(sizeof(bool) == 1, "Bool needs to be 1 byte in size.");
 #endif
 
 //nullptr -  only msvc and gcc-4.6 or later, othervice define it  as nullptr
-#if (defined(__GNUC__)) && (GCC_VERSION < 460)
+#if !defined(_MSC_VER) && !(defined(__GNUC__) && (GCC_VERSION >= 460)) && !(defined(__clang__))
 #define nullptr NULL
 #endif