Fixed compiling on 64-bit Windows

This commit is contained in:
Sam Lantinga 2009-09-06 04:40:54 +00:00
parent 2cf789384c
commit b6ec478790

View File

@ -28,17 +28,17 @@
#ifndef HAVE_LIBC
/* These are some C runtime intrinsics that need to be defined */
#if defined(_MSC_VER) && !defined(_WIN64)
#if defined(_MSC_VER)
#ifndef __FLTUSED__
#define __FLTUSED__
#ifdef __cplusplus
extern "C"
#endif
__declspec(selectany)
int _fltused = 1;
__declspec(selectany) int _fltused = 1;
#endif
#ifdef _WIN64
#else
/* Float to long */
void
__declspec(naked)
@ -693,6 +693,8 @@ RETZERO:
/* *INDENT-ON* */
}
#endif /* _WIN64 */
#endif /* MSC_VER */
#endif /* !HAVE_LIBC */