Bug 818941 - Fix misspelling of __GXX_EXPERIMENTAL_CXX0X__ macro. r=ehsan
authorChris Peterson <cpeterson@mozilla.com>
Thu, 06 Dec 2012 00:05:26 -0800
changeset 115226 9fc5117c6ccdc0abecf7548714b98af89b4aaba5
parent 115225 309e7959dff6f8de26ee734147f55d1eec61d74a
child 115227 2329ce0da8592d4b6941c402915ea255decb175b
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersehsan
bugs818941
milestone20.0a1
Bug 818941 - Fix misspelling of __GXX_EXPERIMENTAL_CXX0X__ macro. r=ehsan
mfbt/NullPtr.h
--- a/mfbt/NullPtr.h
+++ b/mfbt/NullPtr.h
@@ -14,17 +14,17 @@
 #if defined(__clang__)
 #  ifndef __has_extension
 #    define __has_extension __has_feature
 #  endif
 #  if __has_extension(cxx_nullptr)
 #    define MOZ_HAVE_CXX11_NULLPTR
 #  endif
 #elif defined(__GNUC__)
-#  if defined(_GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L
+#  if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L
 #    if (__GNUC__ * 1000 + __GNUC_MINOR__) >= 4006
 #      define MOZ_HAVE_CXX11_NULLPTR
 #    endif
 #  endif
 #elif _MSC_VER >= 1600
 # define MOZ_HAVE_CXX11_NULLPTR
 #endif