[svn-r4522]

Purpose:
 bug fixed
Description:
    Windows doesn't recognize long long. Instead it uses __int64. So add a macro
like
#ifdef HAVE____int64 for windows-like platforms.
Solution:
 see above
Platforms tested:
eirene
This commit is contained in:
MuQun Yang 2001-10-05 11:43:32 -05:00
parent 668d00dbe6
commit 2f90a7ae41

View File

@ -107,9 +107,15 @@ test_config_ctypes(void)
vrfy_ctype(double, SIZEOF_DOUBLE);
/* non-standard basic types */
#ifdef HAVE___int64
#if SIZEOF___INT64 >0
vrfy_ctype(__int64,SIZEOF___INT64);
#endif
#else
#if SIZEOF_LONG_LONG > 0
vrfy_ctype(long long, SIZEOF_LONG_LONG);
#endif
#endif
#if SIZEOF_LONG_DOUBLE > 0
vrfy_ctype(long double, SIZEOF_LONG_DOUBLE);