X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=includes%2Fsilcincludes.h;h=65bd6a07a40a013b07088de7fcc8bfb514478009;hb=09bae6acdf9a519c6d9b4e7535e7f7e56b6c24c1;hp=c0c2d6e8ee2677b9e3d23d0712dccd9fcdb1f46b;hpb=f93d80a4907e9ddd4bdc8b12a9f82cf2b279d07b;p=silc.git diff --git a/includes/silcincludes.h b/includes/silcincludes.h index c0c2d6e8..65bd6a07 100644 --- a/includes/silcincludes.h +++ b/includes/silcincludes.h @@ -28,6 +28,10 @@ /* Automatically generated configuration header */ #include "silcdefs.h" +#ifdef __cplusplus +extern "C" { +#endif + #ifdef WIN32 #ifndef SILC_WIN32 #define SILC_WIN32 @@ -50,6 +54,12 @@ #endif #endif +#if defined(OS2) +#ifndef SILC_OS2 +#define SILC_OS2 +#endif +#endif + /* Platform specific includes */ #ifdef SILC_WIN32 @@ -64,6 +74,10 @@ #include "silcbeos.h" #endif +#ifdef SILC_OS2 +#include "silcos2.h" +#endif + #ifndef DLLAPI #define DLLAPI #endif @@ -314,4 +328,8 @@ typedef uint32 * void *; #include "silcsftp.h" #include "silcsftp_fs.h" +#ifdef __cplusplus +} #endif + +#endif /* SILCINCLUDES_H */