We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad92a19 commit ba1b367Copy full SHA for ba1b367
app/meson.build
@@ -174,6 +174,7 @@ tests = [
174
foreach t : tests
175
exe = executable(t[0], t[1],
176
include_directories: src_dir,
177
- dependencies: dependencies)
+ dependencies: dependencies,
178
+ c_args: ['-DSDL_MAIN_HANDLED'])
179
test(t[0], exe)
180
endforeach
app/tests/test_strutil.c
@@ -2,7 +2,6 @@
2
#include <limits.h>
3
#include <stdio.h>
4
#include <string.h>
5
-#define SDL_MAIN_HANDLED // avoid to redefine main to SDL_main
6
#include <SDL2/SDL.h>
7
8
#include "util/str_util.h"
0 commit comments