diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-06-08 09:35:34 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-06-08 09:35:34 +0000 |
commit | 4608b62e2ef90e36d8ede40d4d09a550d15ea873 (patch) | |
tree | b740c1c99370d61e607993682ebb0c600cbab13d /src/httrack-library.h | |
parent | 3f1e6ac8cd1dc1ab32b9008038460d71825e262c (diff) |
Fixed __cplusplus issues
Diffstat (limited to 'src/httrack-library.h')
-rw-r--r-- | src/httrack-library.h | 8 |
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 |