Bug 391145 - failed to build Spidermonkey: inresolved symbol ( prmjtime.c PRMJ_Now _SetCriticalSectionSpinCount _InitializeCriticalSectionAndSpinCount ). Patch by Rob Arnold <robarnold@mozilla.com>, r=brendan, r=bsmedberg
authorjwalden@mit.edu
Fri, 10 Aug 2007 16:23:38 -0700
changeset 4503 6658258c1b80357a131e0937522fcb6a8aca7e75
parent 4502 e80c8f021fd88b95ac36e6bc62afbfc9f86d29dd
child 4504 2629a0f7c7cf6074976b0b2a45efd31171734589
push idunknown
push userunknown
push dateunknown
reviewersbrendan, bsmedberg
bugs391145
milestone1.9a8pre
Bug 391145 - failed to build Spidermonkey: inresolved symbol ( prmjtime.c PRMJ_Now _SetCriticalSectionSpinCount _InitializeCriticalSectionAndSpinCount ). Patch by Rob Arnold <robarnold@mozilla.com>, r=brendan, r=bsmedberg
js/src/config/WINNT5.0.mk
js/src/config/WINNT5.1.mk
js/src/config/WINNT5.2.mk
--- a/js/src/config/WINNT5.0.mk
+++ b/js/src/config/WINNT5.0.mk
@@ -84,17 +84,17 @@ OPTIMIZER = $(WIN_OPT_CFLAGS)
 else
 ifdef BUILD_IDG
 OPTIMIZER = $(WIN_IDG_CFLAGS)
 else
 OPTIMIZER = $(WIN_DEBUG_CFLAGS)
 endif
 endif
 
-OS_CFLAGS = -D_X86_=1 -DXP_WIN -DXP_WIN32 -DWIN32 -D_WINDOWS -D_WIN32 $(WIN_CFLAGS)
+OS_CFLAGS = -D_X86_=1 -DXP_WIN -DXP_WIN32 -DWIN32 -D_WINDOWS -D_WIN32 -DWINVER=0x500 -D_WIN32_WINNT=0x500 $(WIN_CFLAGS)
 JSDLL_CFLAGS = -DEXPORT_JS_API
 OS_LIBS = -lm -lc
 
 PREBUILT_CPUCFG = 1
 USE_MSVC = 1
 
 LIB_LINK_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
  advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib oldnames.lib \
--- a/js/src/config/WINNT5.1.mk
+++ b/js/src/config/WINNT5.1.mk
@@ -84,17 +84,17 @@ OPTIMIZER = $(WIN_OPT_CFLAGS)
 else
 ifdef BUILD_IDG
 OPTIMIZER = $(WIN_IDG_CFLAGS)
 else
 OPTIMIZER = $(WIN_DEBUG_CFLAGS)
 endif
 endif
 
-OS_CFLAGS = -D_X86_=1 -DXP_WIN -DXP_WIN32 -DWIN32 -D_WINDOWS -D_WIN32 $(WIN_CFLAGS)
+OS_CFLAGS = -D_X86_=1 -DXP_WIN -DXP_WIN32 -DWIN32 -D_WINDOWS -D_WIN32 -DWINVER=0x500 -D_WIN32_WINNT=0x500 $(WIN_CFLAGS)
 JSDLL_CFLAGS = -DEXPORT_JS_API
 OS_LIBS = -lm -lc
 
 PREBUILT_CPUCFG = 1
 USE_MSVC = 1
 
 LIB_LINK_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
  advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib oldnames.lib \
--- a/js/src/config/WINNT5.2.mk
+++ b/js/src/config/WINNT5.2.mk
@@ -84,17 +84,17 @@ OPTIMIZER = $(WIN_OPT_CFLAGS)
 else
 ifdef BUILD_IDG
 OPTIMIZER = $(WIN_IDG_CFLAGS)
 else
 OPTIMIZER = $(WIN_DEBUG_CFLAGS)
 endif
 endif
 
-OS_CFLAGS = -D_X86_=1 -DXP_WIN -DXP_WIN32 -DWIN32 -D_WINDOWS -D_WIN32 $(WIN_CFLAGS)
+OS_CFLAGS = -D_X86_=1 -DXP_WIN -DXP_WIN32 -DWIN32 -D_WINDOWS -D_WIN32 -DWINVER=0x500 -D_WIN32_WINNT=0x500 $(WIN_CFLAGS)
 JSDLL_CFLAGS = -DEXPORT_JS_API
 OS_LIBS = -lm -lc
 
 PREBUILT_CPUCFG = 1
 USE_MSVC = 1
 
 LIB_LINK_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
  advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib oldnames.lib \