updates.
[silc.git] / includes / silcincludes.h
index c0c2d6e8ee2677b9e3d23d0712dccd9fcdb1f46b..65bd6a07a40a013b07088de7fcc8bfb514478009 100644 (file)
 /* Automatically generated configuration header */
 #include "silcdefs.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #ifdef WIN32
 #ifndef SILC_WIN32
 #define SILC_WIN32
 #endif
 #endif
 
+#if defined(OS2)
+#ifndef SILC_OS2
+#define SILC_OS2
+#endif
+#endif
+
 /* Platform specific includes */
 
 #ifdef SILC_WIN32
 #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 */