mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-16 03:15:38 +00:00
include: Renamed begin_code.h and close_code.h to have SDL_ prefixes.
Fixes #6864.
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
#define WINAPI __stdcall
|
||||
#endif
|
||||
|
||||
#include <SDL3/begin_code.h>
|
||||
#include <SDL3/SDL_begin_code.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -98,7 +98,7 @@ WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int sw)
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#include <SDL3/close_code.h>
|
||||
#include <SDL3/SDL_close_code.h>
|
||||
|
||||
/* end of __WIN32__ and __GDK__ impls */
|
||||
#elif defined(__WINRT__)
|
||||
@@ -171,7 +171,7 @@ TInt E32Main()
|
||||
|
||||
#else /* platforms that use a standard main() and just call SDL_RunApp(), like iOS and 3DS */
|
||||
|
||||
#include <SDL3/begin_code.h>
|
||||
#include <SDL3/SDL_begin_code.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -186,7 +186,7 @@ int main(int argc, char *argv[])
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#include <SDL3/close_code.h>
|
||||
#include <SDL3/SDL_close_code.h>
|
||||
|
||||
/* end of impls for standard-conforming platforms */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user