Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed compiling on 64-bit Windows

  • Loading branch information
slouken committed Sep 6, 2009
1 parent 358c989 commit ce15df5ad4d57f06238223582486a3e6f7e5ce8c
Showing with 8 additions and 6 deletions.
  1. +8 −6 src/stdlib/SDL_stdlib.c
@@ -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 @@ _aullshr()
/* *INDENT-ON* */
}

#endif /* _WIN64 */

#endif /* MSC_VER */

#endif /* !HAVE_LIBC */

0 comments on commit ce15df5

Please sign in to comment.