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

Commit

Permalink
Merged gcc on win32 fix from SDL 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 25, 2006
1 parent bfa7ddf commit d8c023a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions include/SDL_config_win32.h
Expand Up @@ -27,7 +27,9 @@

/* This is a set of defines to configure the SDL features */

#ifdef _MSC_VER
#ifdef __GNUC__
#define HAVE_STDINT_H 1
#elif defined(_MSC_VER)
typedef signed __int8 int8_t;
typedef unsigned __int8 uint8_t;
typedef signed __int16 int16_t;
Expand All @@ -44,7 +46,7 @@ typedef unsigned int uintptr_t;
#endif
#define _UINTPTR_T_DEFINED
#endif
#else
#else /* !__GNUC__ && !_MSC_VER */
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef signed short int16_t;
Expand All @@ -58,7 +60,7 @@ typedef unsigned long long uint64_t;
typedef unsigned int size_t;
#endif
typedef unsigned int uintptr_t;
#endif /* _MSC_VER */
#endif /* __GNUC__ || _MSC_VER */
#define SDL_HAS_64BIT_TYPE 1

/* Enabled for SDL 1.2 (binary compatibility) */
Expand Down

0 comments on commit d8c023a

Please sign in to comment.