summaryrefslogtreecommitdiff
path: root/src/httrack-library.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/httrack-library.h')
-rw-r--r--src/httrack-library.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/httrack-library.h b/src/httrack-library.h
index 2638401..622fe07 100644
--- a/src/httrack-library.h
+++ b/src/httrack-library.h
@@ -33,6 +33,10 @@ Please visit our Website: http://www.httrack.com
#ifndef HTTRACK_DEFLIB
#define HTTRACK_DEFLIB
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "htsglobal.h"
#ifndef _WIN32
@@ -332,4 +336,8 @@ typedef struct utimbuf STRUCT_UTIMBUF;
#define fconcat(A,B,C,D) (COMPILE_TIME_CHECK_SIZE(B), fconcat(A,B,C,D))
#define fslash(A,B,C) (COMPILE_TIME_CHECK_SIZE(B), fslash(A,B,C))
+#ifdef __cplusplus
+}
+#endif
+
#endif