Bug 680818 - HAVE_STDCALL is unnecessary on Win64. r=khuey
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Tue, 23 Aug 2011 09:49:10 +0900
changeset 75660 7eb1a56eaaf1bdd55c3897a3d1d9c1445f5474b5
parent 75659 212179627888890b98d17ec176c26bf5634d2e21
child 75702 a41b781330a6bf4669c6ec32f4082374924c2137
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewerskhuey
bugs680818
milestone9.0a1
Bug 680818 - HAVE_STDCALL is unnecessary on Win64. r=khuey
configure.in
--- a/configure.in
+++ b/configure.in
@@ -965,17 +965,16 @@ 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)
@@ -2477,16 +2476,18 @@ ia64*-hpux*)
 
         if test $_MSC_VER -ge 1400; then
             LDFLAGS="$LDFLAGS -SAFESEH"
         fi
 
         if test -n "$GNU_CC"; then
             CFLAGS="$CFLAGS -mstackrealign"
             CXXFLAGS="$CXXFLAGS -mstackrealign"
+        else
+            AC_DEFINE(HAVE_STDCALL)
         fi
 
         MOZ_CHECK_HEADERS(mmintrin.h)
     	AC_DEFINE(_X86_)
 	;;
     x86_64-*)
         AC_DEFINE(_AMD64_)
         ;;