Bug 1056581 - Use fast getc on windows, r=jorendorff
authorHannes Verschore <hv1989@gmail.com>
Wed, 27 Aug 2014 12:05:51 +0200
changeset 223578 e2eda589ea8d679f4fc8802d5f2ccdbd2b352df7
parent 223577 437f9ad3fec974b73e727bba3a40663274466856
child 223579 4f7989d0848f02c6c6cf243980d0e993b8d50ffc
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorendorff
bugs1056581
milestone34.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 1056581 - Use fast getc on windows, r=jorendorff
js/src/configure.in
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -549,16 +549,17 @@ if test -n "$_WIN32_MSVC"; then
 
     # Since we're skipping compiler and library checks, hard-code
     # some facts here.
 
     # Common to all MSVC environments:
 
     AC_DEFINE(HAVE_LOCALECONV)
     AC_DEFINE(HAVE_HYPOT)
+    AC_CHECK_FUNCS([_getc_nolock])
 fi
 
 fi # COMPILE_ENVIRONMENT
 
 # Check to see if we are running in a broken QEMU scratchbox.
 # We know that anything below 1.0.16 is broken.
 AC_CHECK_PROGS(SBCONF, sb-conf ve, "")
 if test -n "$SBCONF"; then