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 7532 2c54272792e2
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
--- a/src/core/android/SDL_android.h	Sat Jul 27 13:52:16 2013 +0200
+++ b/src/core/android/SDL_android.h	Sat Jul 27 14:06:06 2013 +0200
@@ -20,13 +20,6 @@
 */
 #include "SDL_config.h"
 
-/* Set up for C function definitions, even when using C++ */
-#ifdef __cplusplus
-/* *INDENT-OFF* */
-extern "C" {
-/* *INDENT-ON* */
-#endif
-
 #include "SDL_rect.h"
 
 /* Interface from the SDL library into the Android Java activity */
@@ -68,11 +61,4 @@
 /* Generic messages */
 int Android_JNI_SendMessage(int command, int param);
 
-/* Ends C function definitions when using C++ */
-#ifdef __cplusplus
-/* *INDENT-OFF* */
-}
-/* *INDENT-ON* */
-#endif
-
 /* vi: set ts=4 sw=4 expandtab: */