Bug 675221 part G - Define HAS_STDCALL for MSVC because it is necessary to specialize templates on function pointers, and we skip the compiler checks for MSVC, r=khuey
authorBenjamin Smedberg <benjamin@smedbergs.us>
Fri, 19 Aug 2011 11:52:13 -0400
changeset 75573 df2aebf58b689b9b820587aacb57a712c86f7f93
parent 75572 e8cb17fdc2f64f8adc93acb5c90c3d7d778967b1
child 75574 e4b0baf5db728876dc26c44034b4ab7fc55e764a
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewerskhuey
bugs675221
milestone9.0a1
Bug 675221 part G - Define HAS_STDCALL for MSVC because it is necessary to specialize templates on function pointers, and we skip the compiler checks for MSVC, r=khuey
configure.in
--- a/configure.in
+++ b/configure.in
@@ -965,16 +965,17 @@ if test -n "$_WIN32_MSVC"; then
     SKIP_COMPILER_CHECKS=1
     SKIP_LIBRARY_CHECKS=1
 
     # Since we're skipping compiler and library checks, hard-code
     # some facts here.
     AC_DEFINE(HAVE_IO_H)
     AC_DEFINE(HAVE_SETBUF)
     AC_DEFINE(HAVE_ISATTY)
+    AC_DEFINE(HAVE_STDCALL)
 fi
 
 fi # COMPILE_ENVIRONMENT
 
 AC_SUBST(MIDL_FLAGS)
 AC_SUBST(_MSC_VER)
 
 AC_SUBST(GNU_AS)