From e29c0661cc29550aa3e1c8489124c9a52dd546a3 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 1 Dec 2022 12:54:02 -0800 Subject: [PATCH] Removed check for _HAVE_STDINT_H, which nobody defines Fixes https://github.com/libsdl-org/SDL/issues/6619 --- include/SDL_config.h.cmake | 2 +- include/SDL_config_minimal.h | 2 +- include/SDL_config_windows.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/SDL_config.h.cmake b/include/SDL_config.h.cmake index 4b4004187..a44587f97 100644 --- a/include/SDL_config.h.cmake +++ b/include/SDL_config.h.cmake @@ -541,7 +541,7 @@ #cmakedefine SDL_VIDEO_VITA_PVR @SDL_VIDEO_VITA_PVR@ #cmakedefine SDL_VIDEO_VITA_PVR_OGL @SDL_VIDEO_VITA_PVR_OGL@ -#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H) +#if !defined(HAVE_STDINT_H) && !defined(_STDINT_H_) /* Most everything except Visual Studio 2008 and earlier has stdint.h now */ #if defined(_MSC_VER) && (_MSC_VER < 1600) typedef signed __int8 int8_t; diff --git a/include/SDL_config_minimal.h b/include/SDL_config_minimal.h index 2f2559eef..20bb7254c 100644 --- a/include/SDL_config_minimal.h +++ b/include/SDL_config_minimal.h @@ -34,7 +34,7 @@ #define HAVE_STDARG_H 1 #define HAVE_STDDEF_H 1 -#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H) +#if !defined(HAVE_STDINT_H) && !defined(_STDINT_H_) /* Most everything except Visual Studio 2008 and earlier has stdint.h now */ #if defined(_MSC_VER) && (_MSC_VER < 1600) typedef signed __int8 int8_t; diff --git a/include/SDL_config_windows.h b/include/SDL_config_windows.h index 58e0b7ecb..1a9129d3d 100644 --- a/include/SDL_config_windows.h +++ b/include/SDL_config_windows.h @@ -52,7 +52,7 @@ /* This is a set of defines to configure the SDL features */ -#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H) +#if !defined(HAVE_STDINT_H) && !defined(_STDINT_H_) /* Most everything except Visual Studio 2008 and earlier has stdint.h now */ #if defined(_MSC_VER) && (_MSC_VER < 1600) typedef signed __int8 int8_t;