]> Creatis software - crea.git/blobdiff - lib/template_lib/creaSystem.h.in
Feature #1711
[crea.git] / lib / template_lib / creaSystem.h.in
diff --git a/lib/template_lib/creaSystem.h.in b/lib/template_lib/creaSystem.h.in
new file mode 100644 (file)
index 0000000..d91ccee
--- /dev/null
@@ -0,0 +1,26 @@
+
+#ifndef _$PROJECT_NAME$SYSTEM_H_
+#define _$PROJECT_NAME$SYSTEM_H_
+
+
+// Windoze related troubles (as usual)
+
+//-----------------------------------------------------------------------------
+
+#if defined(_WIN32)
+  #ifdef $PROJECT_NAME$_EXPORT_SYMBOLS
+    #define $PROJECT_NAME$_EXPORT __declspec( dllexport )
+#else
+    #define $PROJECT_NAME$_EXPORT __declspec( dllimport )
+  #endif
+  #define $PROJECT_NAME$_CDECL __cdecl
+#else
+  #define $PROJECT_NAME$_EXPORT
+  #define $PROJECT_NAME$_CDECL
+#endif // defined(_WIN32)
+
+#ifdef __BORLANDC__
+  #include <mem.h>
+#endif
+
+#endif