include/SDL_syswm.h
changeset 11957 eba3a7c4ba16
parent 11811 5d94cb6b24d3
child 12391 ca6e41ade79a
     1.1 --- a/include/SDL_syswm.h	Sat May 05 10:31:03 2018 -0700
     1.2 +++ b/include/SDL_syswm.h	Mon May 07 19:26:02 2018 -0700
     1.3 @@ -33,12 +33,6 @@
     1.4  #include "SDL_video.h"
     1.5  #include "SDL_version.h"
     1.6  
     1.7 -#include "begin_code.h"
     1.8 -/* Set up for C function definitions, even when using C++ */
     1.9 -#ifdef __cplusplus
    1.10 -extern "C" {
    1.11 -#endif
    1.12 -
    1.13  /**
    1.14   *  \file SDL_syswm.h
    1.15   *
    1.16 @@ -110,6 +104,12 @@
    1.17  #include "SDL_egl.h"
    1.18  #endif
    1.19  
    1.20 +#include "begin_code.h"
    1.21 +/* Set up for C function definitions, even when using C++ */
    1.22 +#ifdef __cplusplus
    1.23 +extern "C" {
    1.24 +#endif
    1.25 +
    1.26  /**
    1.27   *  These are the various supported windowing subsystems
    1.28   */