src/stdlib/SDL_stdlib.c
changeset 3255 f8a4214ce90a
parent 3253 5d7ef5970073
child 3697 f7b03b6838cb
--- a/src/stdlib/SDL_stdlib.c	Sun Sep 06 04:40:29 2009 +0000
+++ b/src/stdlib/SDL_stdlib.c	Sun Sep 06 04:40:54 2009 +0000
@@ -28,16 +28,16 @@
 #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"
+__declspec(selectany) int _fltused = 1;
 #endif
-__declspec(selectany)
-     int _fltused = 1;
-#endif
+
+#ifdef _WIN64
+
+#else
 
 /* Float to long */
 void
@@ -693,6 +693,8 @@
     /* *INDENT-ON* */
 }
 
+#endif /* _WIN64 */
+
 #endif /* MSC_VER */
 
 #endif /* !HAVE_LIBC */