mirror of https://github.com/encounter/SDL.git
Fixed building with C++
This commit is contained in:
parent
03fc5eebcb
commit
a0ac5ffc9f
|
@ -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[]);
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue