include/SDL_system.h
changeset 7191 75360622e65f
parent 7095 79ca4d26d4b3
child 7264 23a5c8f4b312
equal deleted inserted replaced
7190:11612d544fcd 7191:75360622e65f
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 
    21 
    22 /**
    22 /**
    23  *  \file SDL_system.h
    23  *  \file SDL_system.h
    24  *  
    24  *
    25  *  Include file for platform specific SDL API functions
    25  *  Include file for platform specific SDL API functions
    26  */
    26  */
    27 
    27 
    28 #ifndef _SDL_system_h
    28 #ifndef _SDL_system_h
    29 #define _SDL_system_h
    29 #define _SDL_system_h
    36 #endif
    36 #endif
    37 
    37 
    38 #include "begin_code.h"
    38 #include "begin_code.h"
    39 /* Set up for C function definitions, even when using C++ */
    39 /* Set up for C function definitions, even when using C++ */
    40 #ifdef __cplusplus
    40 #ifdef __cplusplus
    41 /* *INDENT-OFF* */
       
    42 extern "C" {
    41 extern "C" {
    43 /* *INDENT-ON* */
       
    44 #endif
    42 #endif
    45 
    43 
    46 /* Platform specific functions for iOS */
    44 /* Platform specific functions for iOS */
    47 #if defined(__IPHONEOS__) && __IPHONEOS__
    45 #if defined(__IPHONEOS__) && __IPHONEOS__
    48 
    46 
    96 #endif /* __ANDROID__ */
    94 #endif /* __ANDROID__ */
    97 
    95 
    98 
    96 
    99 /* Ends C function definitions when using C++ */
    97 /* Ends C function definitions when using C++ */
   100 #ifdef __cplusplus
    98 #ifdef __cplusplus
   101 /* *INDENT-OFF* */
       
   102 }
    99 }
   103 /* *INDENT-ON* */
       
   104 #endif
   100 #endif
   105 #include "close_code.h"
   101 #include "close_code.h"
   106 
   102 
   107 #endif /* _SDL_system_h */
   103 #endif /* _SDL_system_h */
   108 
   104