Added SILC_UNIX define for unix systems.
[silc.git] / includes / silcincludes.h
index 267d60fa38ec1e86d88a437e0c8528ee957a9d15..cf63d7bab2b3234bad283d2b995972cb7955b9f1 100644 (file)
 extern "C" {
 #endif
 
+#define SILC_UNIX
+
 #ifdef WIN32
 #ifndef SILC_WIN32
 #define SILC_WIN32
+#undef SILC_UNIX
 #endif
 #endif
 
 #if defined(__EPOC32__)
 #ifndef SILC_EPOC
 #define SILC_EPOC
+#undef SILC_UNIX
 #endif
 #endif
 
 #ifdef BEOS
 #ifndef SILC_BEOS
 #define SILC_BEOS
+#undef SILC_UNIX
 #endif
 #elif defined(__BEOS__)
 #ifndef SILC_BEOS
 #define SILC_BEOS
+#undef SILC_UNIX
 #endif
 #endif
 
 #if defined(OS2)
 #ifndef SILC_OS2
 #define SILC_OS2
+#undef SILC_UNIX
 #endif
 #endif