Skip to content
Permalink
Browse files
Fixed building with C++
  • Loading branch information
slouken committed Mar 19, 2019
1 parent 03fc5ee commit a0ac5ffc9ffd3843aeaa732d3a9704278a99f507
Showing with 1 addition and 1 deletion.
  1. +1 −1 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[]);


/**

0 comments on commit a0ac5ff

Please sign in to comment.