From 2c01718695d9e80eeea21f692190c9120ce228da Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 25 Jun 2006 17:12:08 +0000 Subject: [PATCH] Fixed including stdint.h with gcc on Win32 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401898 --- include/SDL_config_win32.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/SDL_config_win32.h b/include/SDL_config_win32.h index 3f02fcca3..19e549fff 100644 --- a/include/SDL_config_win32.h +++ b/include/SDL_config_win32.h @@ -44,6 +44,8 @@ typedef unsigned int uintptr_t; #endif #define _UINTPTR_T_DEFINED #endif +#elif defined(__GNUC__) +#define HAVE_STDINT_H 1 #else typedef signed char int8_t; typedef unsigned char uint8_t;