summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 0896edb..7bd1784 100644
--- a/configure.in
+++ b/configure.in
@@ -15,6 +15,13 @@ then
AC_DEFINE(HAVE_SIGSET_T)
fi
fi
+AC_CACHE_CHECK(for _stdcall keyword, p32_cv_stdcall,
+ AC_TRY_COMPILE( ,[int _stdcall foo();],
+ p32_cv_stdcall=yes, p32_cv_stdcall=no))
+
+if test x$p32_cv_stdcall = xyes ; then
+ AC_DEFINE(STDCALL, _stdcall)
+fi
AC_CHECK_HEADERS(windows.h,,AC_MSG_WARN([Target system must be Win32]))
AC_OUTPUT(Makefile)