TEST: Allow building the test runner with MinGW
It needs the same workaround as our dev tools (see bug #1800764)
This commit is contained in:
parent
507b9a75e7
commit
24579ceba9
2 changed files with 12 additions and 1 deletions
11
test/cxxtest_mingw.h
Normal file
11
test/cxxtest_mingw.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
#ifndef CXXTEST_MINGW
|
||||
#define CXXTEST_MINGW
|
||||
|
||||
// HACK to allow building with the SDL backend on MinGW
|
||||
// see bug #1800764 "TOOLS: MinGW tools building broken"
|
||||
#ifdef main
|
||||
#undef main
|
||||
#endif // main
|
||||
|
||||
#endif // CXXTEST_MINGW
|
Loading…
Add table
Add a link
Reference in a new issue