summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageModeMakefileTest/foo.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindPackageModeMakefileTest/foo.h')
-rw-r--r--Tests/FindPackageModeMakefileTest/foo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/FindPackageModeMakefileTest/foo.h b/Tests/FindPackageModeMakefileTest/foo.h
index 4ec598a..7051eda 100644
--- a/Tests/FindPackageModeMakefileTest/foo.h
+++ b/Tests/FindPackageModeMakefileTest/foo.h
@@ -1,6 +1,14 @@
#ifndef FOO_H
#define FOO_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int foo();
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif