From 874939ae893498e36f135052b187f7d65792d7c4 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 27 Oct 2013 22:45:07 +0200 Subject: COMMON: Make XCode 5.0.1 happier --- common/c++11-compat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/c++11-compat.h b/common/c++11-compat.h index 50d79bd79e..f963ba9ac8 100644 --- a/common/c++11-compat.h +++ b/common/c++11-compat.h @@ -31,7 +31,9 @@ // Custom nullptr replacement. This is not type safe as the real C++11 nullptr // though. // +#if !defined(nullptr) // XCode 5.0.1 has __cplusplus=199711 but defines this #define nullptr 0 +#endif // // Replacement for the override keyword. This allows compilation of code -- cgit v1.2.3