Added new define SILC_MACOSX, if __APPLE__ and __MACH__ is defined.
[silc.git] / includes / silcincludes.h.in
index 3bc14ca536415a02c4b915a087a7be80aad2d1ef..8b56bf4b8bf8072b6d7cda2e87526cbff878b319 100644 (file)
@@ -63,6 +63,12 @@ extern "C" {
 #endif
 #endif
 
+#if defined(__MACH__) && defined(__APPLE__)
+#ifndef SILC_MACOSX
+#define SILC_MACOSX
+#endif
+#endif
+
 /* Types */
 #define SILC_SIZEOF_LONG_LONG @SILC_SIZEOF_LONG_LONG@
 #define SILC_SIZEOF_LONG @SILC_SIZEOF_LONG@