scummvm/test/cxxtest_mingw.h
Littleboy 24579ceba9 TEST: Allow building the test runner with MinGW
It needs the same workaround as our dev tools (see bug #1800764)
2011-09-07 19:41:27 -04:00

11 lines
222 B
C

#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