summaryrefslogtreecommitdiffstats
path: root/Modules/CheckFunctionExists.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CheckFunctionExists.c')
-rw-r--r--Modules/CheckFunctionExists.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CheckFunctionExists.c b/Modules/CheckFunctionExists.c
index 607b3e8..fd29618 100644
--- a/Modules/CheckFunctionExists.c
+++ b/Modules/CheckFunctionExists.c
@@ -1,5 +1,8 @@
#ifdef CHECK_FUNCTION_EXISTS
+#ifdef __cplusplus
+extern "C"
+#endif
char CHECK_FUNCTION_EXISTS();
#ifdef __CLASSIC_C__
int main(){