Bug 961222 - fix documentation and indentation in Compiler.h; r=Waldo
authorNathan Froyd <froydnj@mozilla.com>
Fri, 17 Jan 2014 16:25:30 -0500
changeset 180525 bc98b7a52884e1df484369bc6c3e6360879d70a9
parent 180524 d97fcd278cd27f0d5f0f318c20dbc0895bc0605e
child 180526 156dd7431c8ecb39eb8cdaea9cfa7c20927073a3
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersWaldo
bugs961222
milestone29.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 961222 - fix documentation and indentation in Compiler.h; r=Waldo
mfbt/Compiler.h
--- a/mfbt/Compiler.h
+++ b/mfbt/Compiler.h
@@ -6,31 +6,31 @@
 
 /* Various compiler checks. */
 
 #ifndef mozilla_Compiler_h
 #define mozilla_Compiler_h
 
 #if !defined(__clang__) && defined(__GNUC__)
 
-#define MOZ_IS_GCC 1
+#  define MOZ_IS_GCC 1
    /*
     * This macro should simplify gcc version checking. For example, to check
-    * for gcc 4.5.1 or later, check `#ifdef MOZ_GCC_VERSION_AT_LEAST(4, 5, 1)`.
+    * for gcc 4.5.1 or later, check `#if MOZ_GCC_VERSION_AT_LEAST(4, 5, 1)`.
     */
 #  define MOZ_GCC_VERSION_AT_LEAST(major, minor, patchlevel)          \
      ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) \
       >= ((major) * 10000 + (minor) * 100 + (patchlevel)))
-#if !MOZ_GCC_VERSION_AT_LEAST(4, 4, 0)
-#  error "mfbt (and Gecko) require at least gcc 4.4 to build."
-#endif
+#  if !MOZ_GCC_VERSION_AT_LEAST(4, 4, 0)
+#    error "mfbt (and Gecko) require at least gcc 4.4 to build."
+#  endif
 
 #else
 
-#define MOZ_IS_GCC 0
+#  define MOZ_IS_GCC 0
 
 #endif
 
 /*
  * The situation with standard libraries is a lot worse than with compilers,
  * particularly as clang and gcc could end up using one of three or so standard
  * libraries, and they may not be up-to-snuff with newer C++11 versions. To
  * detect the library, we're going to include cstddef (which is a small header