fixed so that SDL_main is declared as a C function so linking gets done correctly

This commit is contained in:
Magnus Auvinen 2010-06-02 03:59:04 +08:00 committed by SushiTee
parent b12ae69fee
commit b851bc8799

View file

@ -1949,7 +1949,7 @@ static CClient m_Client;
*/
#if defined(CONF_PLATFORM_MACOSX)
int SDL_main(int argc, const char **argv) // ignore_convention
extern "C" int SDL_main(int argc, const char **argv) // ignore_convention
#else
int main(int argc, const char **argv) // ignore_convention
#endif