Fix test compilation on mingw
Including SDL2/SDL.h redefines main to SDL_main by default.
This commit is contained in:
parent
e0b117de13
commit
3259c60b22
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#define SDL_MAIN_HANDLED // avoid to redefine main to SDL_main
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL2/SDL.h>
|
||||||
|
|
||||||
#include "util/str_util.h"
|
#include "util/str_util.h"
|
||||||
|
|
Loading…
Reference in a new issue