зеркало из https://github.com/mozilla/gecko-dev.git
Bug 674618 - Eliminate warnings on Mac introduced by rev ba2bdf497934 (././js-confdefs.h:110:1: warning: "__STDC_LIMIT_MACROS" redefined). r=jimb.
--HG-- extra : rebase_source : 65140f1129745eabbc18f7d8e7a0409ec207a51c
This commit is contained in:
Родитель
4a620afde9
Коммит
3dabdf1172
|
@ -757,12 +757,6 @@ DEFINES += -DEXPORT_JS_API
|
|||
# its headers.
|
||||
DEFINES += -DIMPL_MFBT
|
||||
|
||||
# Some platforms that have stdint.h include it in system headers. So
|
||||
# to reliably get limit macros defined, we'd always have to define the
|
||||
# one below before including any header, but that's obscure and
|
||||
# fragile, so we do it here.
|
||||
DEFINES += -D__STDC_LIMIT_MACROS
|
||||
|
||||
INCLUDES += -I$(srcdir)
|
||||
|
||||
GARBAGE += jscpucfg.o jsautocfg.h jsautocfg.tmp jscpucfg
|
||||
|
|
|
@ -100,12 +100,6 @@ CPPSRCS = \
|
|||
|
||||
DEFINES += -DEXPORT_JS_API
|
||||
|
||||
# Some platforms that have stdint.h include it in system headers. So
|
||||
# to reliably get limit macros defined, we'd always have to define the
|
||||
# one below before including any header, but that's obscure and
|
||||
# fragile, so we do it here.
|
||||
DEFINES += -D__STDC_LIMIT_MACROS
|
||||
|
||||
LIBS = $(DEPTH)/$(LIB_PREFIX)js_static.$(LIB_SUFFIX) $(NSPR_LIBS)
|
||||
|
||||
LOCAL_INCLUDES += -I$(topsrcdir) -I..
|
||||
|
|
|
@ -38,8 +38,6 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#define __STDC_LIMIT_MACROS
|
||||
|
||||
/*
|
||||
* JS shell.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче