summaryrefslogtreecommitdiffhomepage
path: root/src/rcamera.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rcamera.h')
-rw-r--r--src/rcamera.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rcamera.h b/src/rcamera.h
index ef30be3c..37ea13a6 100644
--- a/src/rcamera.h
+++ b/src/rcamera.h
@@ -103,7 +103,7 @@
// Module Functions Declaration
//----------------------------------------------------------------------------------
-#ifdef __cplusplus
+#if defined(__cplusplus)
extern "C" { // Prevents name mangling of functions
#endif
@@ -119,7 +119,7 @@ void SetCameraMoveControls(int keyFront, int keyBack,
int keyUp, int keyDown); // Set camera move controls (1st person and 3rd person cameras)
#endif
-#ifdef __cplusplus
+#if defined(__cplusplus)
}
#endif