include: SDL_dynapi.h depends on platform defines

This commit is contained in:
Anonymous Maarten
2023-01-08 00:40:09 +01:00
committed by Anonymous Maarten
parent d94f2a9ee5
commit f91a747549
29 changed files with 249 additions and 200 deletions

View File

@@ -22,7 +22,7 @@
#ifndef SDL_build_config_h_
#define SDL_build_config_h_
#include <SDL3/SDL_platform.h>
#include <SDL3/SDL_platform_defines.h>
/**
* \file SDL_build_config.h

View File

@@ -29,7 +29,7 @@
*/
/* General platform specific identifiers */
#include <SDL3/SDL_platform.h>
#include <SDL3/SDL_platform_defines.h>
/* C language features */
#cmakedefine const @HAVE_CONST@

View File

@@ -23,7 +23,7 @@
#define SDL_build_config_android_h_
#define SDL_build_config_h_
#include <SDL3/SDL_platform.h>
#include <SDL3/SDL_platform_defines.h>
/**
* \file SDL_build_config_android.h

View File

@@ -22,7 +22,7 @@
#ifndef SDL_build_config_emscripten_h
#define SDL_build_config_emscripten_h
#include <SDL3/SDL_platform.h>
#include <SDL3/SDL_platform_defines.h>
/**
* \file SDL_build_config_emscripten.h

View File

@@ -23,7 +23,7 @@
#define SDL_build_config_ios_h_
#define SDL_build_config_h_
#include <SDL3/SDL_platform.h>
#include <SDL3/SDL_platform_defines.h>
#define HAVE_GCC_ATOMICS 1

View File

@@ -23,7 +23,7 @@
#define SDL_build_config_macos_h_
#define SDL_build_config_h_
#include <SDL3/SDL_platform.h>
#include <SDL3/SDL_platform_defines.h>
/* This gets us MAC_OS_X_VERSION_MIN_REQUIRED... */
#include <AvailabilityMacros.h>

View File

@@ -23,7 +23,7 @@
#define SDL_build_config_minimal_h_
#define SDL_build_config_h_
#include <SDL3/SDL_platform.h>
#include <SDL3/SDL_platform_defines.h>
/**
* \file SDL_build_config_minimal.h

View File

@@ -23,7 +23,7 @@
#define SDL_build_config_ngage_h_
#define SDL_build_config_h_
#include <SDL3/SDL_platform.h>
#include <SDL3/SDL_platform_defines.h>
typedef signed char int8_t;
typedef unsigned char uint8_t;

View File

@@ -23,7 +23,7 @@
#define SDL_build_config_windows_h_
#define SDL_build_config_h_
#include <SDL3/SDL_platform.h>
#include <SDL3/SDL_platform_defines.h>
/* winsdkver.h defines _WIN32_MAXVER for SDK version detection. It is present since at least the Windows 7 SDK,
* but out of caution we'll only use it if the compiler supports __has_include() to confirm its presence.

View File

@@ -23,7 +23,7 @@
#define SDL_build_config_wingdk_h_
#define SDL_build_config_h_
#include <SDL3/SDL_platform.h>
#include <SDL3/SDL_platform_defines.h>
/* Windows GDK does not need Windows SDK version checks because it requires
* a recent version of the Windows 10 SDK. */

View File

@@ -23,7 +23,7 @@
#define SDL_build_config_winrt_h_
#define SDL_build_config_h_
#include <SDL3/SDL_platform.h>
#include <SDL3/SDL_platform_defines.h>
/* Make sure the Windows SDK's NTDDI_VERSION macro gets defined. This is used
by SDL to determine which version of the Windows SDK is being used.

View File

@@ -23,7 +23,7 @@
#define SDL_build_config_wingdk_h_
#define SDL_build_config_h_
#include <SDL3/SDL_platform.h>
#include <SDL3/SDL_platform_defines.h>
/* Windows GDK does not need Windows SDK version checks because it requires
* a recent version of the Windows 10 SDK. */