summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbje <bje>1998-10-04 02:05:52 +0000
committerbje <bje>1998-10-04 02:05:52 +0000
commitc6332c1963c7c13261192f2a406f3dbaf3a18a97 (patch)
treed11e18e6094e2b363c55cf9ecc560c3aded9f0be
parent767652887cd3d21913bcb70519c6cb74d25f26e8 (diff)
1998-10-04 Ben Elliston <bje@cygnus.com>
* configure.in: Test for __stdcall, not _stdcall. Typo. * configure: Regenerate.
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure4
-rw-r--r--configure.in4
3 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index d43cfe1..2f041e3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
1998-10-04 Ben Elliston <bje@cygnus.com>
+ * configure.in: Test for __stdcall, not _stdcall. Typo.
+
+ * configure: Regenerate.
+
* attr.c (pthread_attr_setstackaddr): Remove FIXME comment. Win32
does know about ENOSYS after all.
(pthread_attr_setstackaddr): Likewise.
diff --git a/configure b/configure
index 8cd92d5..3b660a4 100755
--- a/configure
+++ b/configure
@@ -945,7 +945,7 @@ else
#include "confdefs.h"
int main() {
-int _stdcall foo();
+int __stdcall foo();
; return 0; }
EOF
if { (eval echo configure:952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
@@ -964,7 +964,7 @@ echo "$ac_t""$p32_cv_stdcall" 1>&6
if test x$p32_cv_stdcall = xyes ; then
cat >> confdefs.h <<\EOF
-#define STDCALL _stdcall
+#define STDCALL __stdcall
EOF
else
diff --git a/configure.in b/configure.in
index f3726f6..76c78ea 100644
--- a/configure.in
+++ b/configure.in
@@ -16,11 +16,11 @@ then
fi
fi
AC_CACHE_CHECK(for _stdcall keyword, p32_cv_stdcall,
- AC_TRY_COMPILE( ,[int _stdcall foo();],
+ 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)
+ AC_DEFINE(STDCALL, __stdcall)
else
AC_DEFINE(STDCALL,)
fi