cmake: testnative can also be built on non-Linux
This commit is contained in:
1 parent
2a03ad2cbf
commit
b8b852a55b
3 files changed
+17
-7
No files matched your search
+10
-1
@@ -11,9 +11,18 @@
|
||||
freely.
|
||||
*/
|
||||
|
||||
#include "../src/SDL_internal.h"
|
||||
#include <SDL3/SDL.h>
|
||||
#include <SDL3/SDL_main.h>
|
||||
#include <SDL3/SDL_test.h>
|
||||
|
||||
/* Hack to avoid dynapi renaming */
|
||||
#include "../src/dynapi/SDL_dynapi.h"
|
||||
#ifdef SDL_DYNAMIC_API
|
||||
#undef SDL_DYNAMIC_API
|
||||
#endif
|
||||
|
||||
#include "../src/SDL_internal.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
Reference in new issue
Block a user