Add SDL_main.h includes to tests
.. including cmake/test/*.c, whatever that does (this is needed now because SDL.h doesn't include SDL_main.h anymore)
This commit is contained in:
committed by
Sam Lantinga
parent
ca2fe7be1a
commit
22e22ba196
@@ -1,4 +1,6 @@
|
||||
#include <SDL3/SDL.h>
|
||||
#define SDL_MAIN_HANDLED /* don't drag in header-only SDL_main implementation */
|
||||
#include <SDL3/SDL_main.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include EXPORT_HEADER
|
||||
|
||||
Reference in New Issue
Block a user