Add headers for unsupported sources

This commit is contained in:
Anonymous Maarten
2025-09-25 23:34:09 +02:00
committed by Anonymous Maarten
parent f9f172cf60
commit cdc4609993
10 changed files with 153 additions and 57 deletions

View File

@@ -40,6 +40,8 @@
#include <SDL3/SDL.h>
#define SDL_MAIN_NOIMPL // don't drag in header-only implementation of SDL_main
#include <SDL3/SDL_main.h>
#include "../core/SDL_core_unsupported.h"
#include "../video/SDL_video_unsupported.h"
// These headers have system specific definitions, so aren't included above

View File

@@ -33,20 +33,4 @@ typedef struct ID3D11Device ID3D11Device;
typedef struct IDirect3DDevice9 IDirect3DDevice9;
#endif
#ifndef SDL_PLATFORM_GDK
typedef struct XTaskQueueHandle XTaskQueueHandle;
#endif
#ifndef SDL_PLATFORM_GDK
typedef struct XUserHandle XUserHandle;
#endif
#ifndef SDL_PLATFORM_ANDROID
typedef void *SDL_RequestAndroidPermissionCallback;
#endif
#ifndef SDL_PLATFORM_IOS
typedef void *SDL_iOSAnimationCallback;
#endif
#endif