diff options
author | Littleboy | 2011-09-07 19:41:27 -0400 |
---|---|---|
committer | Littleboy | 2011-09-07 19:41:27 -0400 |
commit | 24579ceba9b219ab3a89f31b5496b2633e076af6 (patch) | |
tree | d4a3eb5131a0b4416dfdee30ad30fc8cb52bc883 /test/cxxtest_mingw.h | |
parent | 507b9a75e729eb50f2ef63d2234c3c1b434f2ee1 (diff) | |
download | scummvm-rg350-24579ceba9b219ab3a89f31b5496b2633e076af6.tar.gz scummvm-rg350-24579ceba9b219ab3a89f31b5496b2633e076af6.tar.bz2 scummvm-rg350-24579ceba9b219ab3a89f31b5496b2633e076af6.zip |
TEST: Allow building the test runner with MinGW
It needs the same workaround as our dev tools (see bug #1800764)
Diffstat (limited to 'test/cxxtest_mingw.h')
-rw-r--r-- | test/cxxtest_mingw.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/cxxtest_mingw.h b/test/cxxtest_mingw.h new file mode 100644 index 0000000000..f407105bfe --- /dev/null +++ b/test/cxxtest_mingw.h @@ -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
\ No newline at end of file |