Removed C++ macro setup in internal header for Android port which is only C now.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 27 Jul 2013 14:06:06 +0200
changeset 75322c54272792e2
parent 7531 a117b90a3a12
child 7533 8f4447da4cfd
Removed C++ macro setup in internal header for Android port which is only C now.
src/core/android/SDL_android.h
     1.1 --- a/src/core/android/SDL_android.h	Sat Jul 27 13:52:16 2013 +0200
     1.2 +++ b/src/core/android/SDL_android.h	Sat Jul 27 14:06:06 2013 +0200
     1.3 @@ -20,13 +20,6 @@
     1.4  */
     1.5  #include "SDL_config.h"
     1.6  
     1.7 -/* Set up for C function definitions, even when using C++ */
     1.8 -#ifdef __cplusplus
     1.9 -/* *INDENT-OFF* */
    1.10 -extern "C" {
    1.11 -/* *INDENT-ON* */
    1.12 -#endif
    1.13 -
    1.14  #include "SDL_rect.h"
    1.15  
    1.16  /* Interface from the SDL library into the Android Java activity */
    1.17 @@ -68,11 +61,4 @@
    1.18  /* Generic messages */
    1.19  int Android_JNI_SendMessage(int command, int param);
    1.20  
    1.21 -/* Ends C function definitions when using C++ */
    1.22 -#ifdef __cplusplus
    1.23 -/* *INDENT-OFF* */
    1.24 -}
    1.25 -/* *INDENT-ON* */
    1.26 -#endif
    1.27 -
    1.28  /* vi: set ts=4 sw=4 expandtab: */