mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
fixed so that SDL_main is declared as a C function so linking gets done correctly
This commit is contained in:
parent
b12ae69fee
commit
b851bc8799
|
@ -1949,7 +1949,7 @@ static CClient m_Client;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(CONF_PLATFORM_MACOSX)
|
#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
|
#else
|
||||||
int main(int argc, const char **argv) // ignore_convention
|
int main(int argc, const char **argv) // ignore_convention
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue