mirror of
https://github.com/yawut/SDL.git
synced 2026-07-30 23:17:23 -05:00
Fixed compiling on 64-bit Windows
This commit is contained in:
parent
2cf789384c
commit
b6ec478790
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user