Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed compiling on 64-bit Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 6, 2009
1 parent 358c989 commit ce15df5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/stdlib/SDL_stdlib.c
Expand Up @@ -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)
Expand Down Expand Up @@ -693,6 +693,8 @@ _aullshr()
/* *INDENT-ON* */
}

#endif /* _WIN64 */

#endif /* MSC_VER */

#endif /* !HAVE_LIBC */
Expand Down

0 comments on commit ce15df5

Please sign in to comment.