Fixed building with C++
authorSam Lantinga <slouken@libsdl.org>
Tue, 19 Mar 2019 10:59:41 -0700
changeset 1266373499f0997d9
parent 12662 bc56ab68fcc4
child 12664 71a3366d5b34
Fixed building with C++
include/SDL_main.h
     1.1 --- a/include/SDL_main.h	Tue Mar 19 10:56:46 2019 -0700
     1.2 +++ b/include/SDL_main.h	Tue Mar 19 10:59:41 2019 -0700
     1.3 @@ -118,7 +118,7 @@
     1.4   *  The prototype for the application's main() function
     1.5   */
     1.6  typedef int (*SDL_main_func)(int argc, char *argv[]);
     1.7 -extern C_LINKAGE SDLMAIN_DECLSPEC int SDL_main(int argc, char *argv[]);
     1.8 +extern SDLMAIN_DECLSPEC int SDL_main(int argc, char *argv[]);
     1.9  
    1.10  
    1.11  /**