Add missing SDL_main.h includes to remaining libSDLmain implementations
this should hopefully make the automated builds work again (this commit can probably be removed once all affected platforms are converted to header-only SDL_main)
This commit is contained in:
committed by
Sam Lantinga
parent
22e22ba196
commit
2d0eaea1cc
@@ -2,6 +2,7 @@
|
|||||||
SDL_dummy_main.c, placed in the public domain by Sam Lantinga 3/13/14
|
SDL_dummy_main.c, placed in the public domain by Sam Lantinga 3/13/14
|
||||||
*/
|
*/
|
||||||
#include <SDL3/SDL.h>
|
#include <SDL3/SDL.h>
|
||||||
|
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
|
||||||
|
|
||||||
#ifdef main
|
#ifdef main
|
||||||
#undef main
|
#undef main
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
3. This notice may not be removed or altered from any source distribution.
|
3. This notice may not be removed or altered from any source distribution.
|
||||||
*/
|
*/
|
||||||
#include <SDL3/SDL.h>
|
#include <SDL3/SDL.h>
|
||||||
|
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
|
||||||
|
|
||||||
/* Include this so we define UNICODE properly */
|
/* Include this so we define UNICODE properly */
|
||||||
#include "../../core/windows/SDL_windows.h"
|
#include "../../core/windows/SDL_windows.h"
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
3. This notice may not be removed or altered from any source distribution.
|
3. This notice may not be removed or altered from any source distribution.
|
||||||
*/
|
*/
|
||||||
#include <SDL3/SDL.h>
|
#include <SDL3/SDL.h>
|
||||||
|
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
|
||||||
|
|
||||||
#ifdef __3DS__
|
#ifdef __3DS__
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
SDL_ngage_main.c, originally for SDL 1.2 by Hannu Viitala
|
SDL_ngage_main.c, originally for SDL 1.2 by Hannu Viitala
|
||||||
*/
|
*/
|
||||||
#include <SDL3/SDL.h>
|
#include <SDL3/SDL.h>
|
||||||
|
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
|
||||||
|
|
||||||
#include <e32std.h>
|
#include <e32std.h>
|
||||||
#include <e32def.h>
|
#include <e32def.h>
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
SDL_ps2_main.c, fjtrujy@gmail.com
|
SDL_ps2_main.c, fjtrujy@gmail.com
|
||||||
*/
|
*/
|
||||||
#include <SDL3/SDL.h>
|
#include <SDL3/SDL.h>
|
||||||
|
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
|
||||||
|
|
||||||
#ifdef __PS2__
|
#ifdef __PS2__
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
SDL_psp_main.c, placed in the public domain by Sam Lantinga 3/13/14
|
SDL_psp_main.c, placed in the public domain by Sam Lantinga 3/13/14
|
||||||
*/
|
*/
|
||||||
#include <SDL3/SDL.h>
|
#include <SDL3/SDL.h>
|
||||||
|
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
|
||||||
|
|
||||||
#ifdef __PSP__
|
#ifdef __PSP__
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
SDL_uikit_main.c, placed in the public domain by Sam Lantinga 3/18/2019
|
SDL_uikit_main.c, placed in the public domain by Sam Lantinga 3/18/2019
|
||||||
*/
|
*/
|
||||||
#include <SDL3/SDL.h>
|
#include <SDL3/SDL.h>
|
||||||
|
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
|
||||||
|
|
||||||
#if defined(__IOS__) || defined(__TVOS__)
|
#if defined(__IOS__) || defined(__TVOS__)
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
SDL_winrt_main_NonXAML.cpp, placed in the public domain by David Ludwig 3/13/14
|
SDL_winrt_main_NonXAML.cpp, placed in the public domain by David Ludwig 3/13/14
|
||||||
*/
|
*/
|
||||||
#include <SDL3/SDL.h>
|
#include <SDL3/SDL.h>
|
||||||
|
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
|
||||||
|
|
||||||
#include <wrl.h>
|
#include <wrl.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user