Skip to content

Commit

Permalink
Fixed building with C++
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 19, 2019
1 parent 03fc5ee commit a0ac5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL_main.h
Expand Up @@ -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[]);


/**
Expand Down

0 comments on commit a0ac5ff

Please sign in to comment.