From a0ac5ffc9ffd3843aeaa732d3a9704278a99f507 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 19 Mar 2019 10:59:41 -0700 Subject: [PATCH] Fixed building with C++ --- include/SDL_main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_main.h b/include/SDL_main.h index b3674885aa05b..623f2d005bf29 100644 --- a/include/SDL_main.h +++ b/include/SDL_main.h @@ -118,7 +118,7 @@ extern "C" { * The prototype for the application's main() function */ typedef int (*SDL_main_func)(int argc, char *argv[]); -extern C_LINKAGE SDLMAIN_DECLSPEC int SDL_main(int argc, char *argv[]); +extern SDLMAIN_DECLSPEC int SDL_main(int argc, char *argv[]); /**