From 2f90a7ae415d911b0f4dde15b89073591588a595 Mon Sep 17 00:00:00 2001 From: MuQun Yang Date: Fri, 5 Oct 2001 11:43:32 -0500 Subject: [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 --- test/tconfig.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/tconfig.c b/test/tconfig.c index 256fed4..077c472 100644 --- a/test/tconfig.c +++ b/test/tconfig.c @@ -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); -- cgit v0.12