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:
Daniel Gibson authored and Sam Lantinga committed 2022-12-15 08:01:01 -08:00
1 parent ca2fe7be1a
commit 22e22ba196
71 files changed
+73

No files matched your search

+2
View File
@@ -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