diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.in | 4 |
3 files changed, 8 insertions, 4 deletions
@@ -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. @@ -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 |