Bug 805951. Fix __GNU_MINOR__ typo in NullPtr.h
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Fri, 26 Oct 2012 16:29:55 -0400
changeset 111564 ceb1c72cd35f4a8eadfec7f307d5804a53973981
parent 111563 70f9b80d208702240bb5255e5607b0f033123beb
child 111565 a889ac0633730ea6bb4d2856b7693dd8a4ea4bd8
push id23752
push userryanvm@gmail.com
push dateSat, 27 Oct 2012 01:22:44 +0000
treeherdermozilla-central@f9acc2e4d4e3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs805951
milestone19.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 805951. Fix __GNU_MINOR__ typo in NullPtr.h Pointed out by Chris Peterson.
mfbt/NullPtr.h
--- a/mfbt/NullPtr.h
+++ b/mfbt/NullPtr.h
@@ -15,17 +15,17 @@
 #  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 (__GNUC__ * 1000 + __GNU_MINOR__) >= 4006
+#    if (__GNUC__ * 1000 + __GNUC_MINOR__) >= 4006
 #      define MOZ_HAVE_CXX11_NULLPTR
 #    endif
 #  endif
 #elif _MSC_VER >= 1600
 # define MOZ_HAVE_CXX11_NULLPTR
 #endif
 
 /**