Commit a0ac5ffc9ffd3843aeaa732d3a9704278a99f507

Sam Lantinga 2019-03-19T10:59:41

Fixed building with C++

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/SDL_main.h b/include/SDL_main.h
index b367488..623f2d0 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[]);
 
 
 /**