Bug 795238 follow-up - #include Attributes.h which defines MOZ_HAVE_CXX11_ENUM_TYPE
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 09 Oct 2012 09:39:32 -0400
changeset 109748 52c773840b0083db00c24c171b9d6f1824f2f82a
parent 109747 baefffd93dc19260751f98e0896128cdbfa22791
child 109749 467aac9f380a5eb4d42817782c8ff79e55078653
push id16171
push usereakhgari@mozilla.com
push dateTue, 09 Oct 2012 13:39:37 +0000
treeherdermozilla-inbound@52c773840b00 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs795238
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 795238 follow-up - #include Attributes.h which defines MOZ_HAVE_CXX11_ENUM_TYPE
xpcom/base/nsError.h
--- a/xpcom/base/nsError.h
+++ b/xpcom/base/nsError.h
@@ -4,16 +4,17 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #ifndef nsError_h__
 #define nsError_h__
 
 #ifndef nscore_h___
 #include "nscore.h"  /* needed for nsresult */
 #endif
+#include "mozilla/Attributes.h"
 
 /*
  * To add error code to your module, you need to do the following:
  *
  * 1) Add a module offset code.  Add yours to the bottom of the list
  *    right below this comment, adding 1.
  *
  * 2) In your module, define a header file which uses one of the