Bug 912560 - WebRTC may define __STDC_FORMAT_MACROS on the command line. r=ted
authorHubert Figuière <hfiguiere@mozilla.com>
Tue, 01 Oct 2013 15:08:46 -0400
changeset 149547 d7599a4f3e17acc69bb3cf03a0cd4fe4e4b466cb
parent 149546 6a5549d97d8d60effeb0696979af650e0b6a5eb7
child 149548 2f301631893281227b7551f8e5c6bcc3115a383f
push id25394
push userkwierso@gmail.com
push dateWed, 02 Oct 2013 01:41:38 +0000
treeherdermozilla-central@e3c84e9f2490 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs912560
milestone27.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 912560 - WebRTC may define __STDC_FORMAT_MACROS on the command line. r=ted
mozilla-config.h.in
--- a/mozilla-config.h.in
+++ b/mozilla-config.h.in
@@ -16,17 +16,19 @@
  *
  * The same also occurs with __STDC_CONSTANT_MACROS for the constant macros
  * (INT8_C for example) used to specify a literal constant of the proper type,
  * and with __STDC_FORMAT_MACROS for the format macros (PRId32 for example) used
  * with the fprintf function family.
  */
 #define __STDC_LIMIT_MACROS
 #define __STDC_CONSTANT_MACROS
+#if !defined(__STDC_FORMAT_MACROS)
 #define __STDC_FORMAT_MACROS
+#endif
 
 /*
  * Force-include hunspell_alloc_hooks.h and hunspell_fopen_hooks.h for hunspell,
  * so that we don't need to modify them directly.
  *
  * HUNSPELL_STATIC is defined in extensions/spellcheck/hunspell/src/Makefile.in,
  * unless --enable-system-hunspell is defined.
  */