diff options
| author | bje <bje> | 1998-10-04 02:05:52 +0000 | 
|---|---|---|
| committer | bje <bje> | 1998-10-04 02:05:52 +0000 | 
| commit | c6332c1963c7c13261192f2a406f3dbaf3a18a97 (patch) | |
| tree | d11e18e6094e2b363c55cf9ecc560c3aded9f0be | |
| parent | 767652887cd3d21913bcb70519c6cb74d25f26e8 (diff) | |
1998-10-04  Ben Elliston  <bje@cygnus.com>
        * configure.in: Test for __stdcall, not _stdcall. Typo.
	* configure: Regenerate.
| -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 | 
