summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/sametime/sametime.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/!NotAdopted/sametime/sametime.h')
-rw-r--r--plugins/!NotAdopted/sametime/sametime.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/sametime/sametime.h b/plugins/!NotAdopted/sametime/sametime.h
new file mode 100644
index 0000000000..14438b2c4f
--- /dev/null
+++ b/plugins/!NotAdopted/sametime/sametime.h
@@ -0,0 +1,14 @@
+
+// The following ifdef block is the standard way of creating macros which make exporting
+// from a DLL simpler. All files within this DLL are compiled with the SAMETIME_EXPORTS
+// symbol defined on the command line. this symbol should not be defined on any project
+// that uses this DLL. This way any other project whose source files include this file see
+// SAMETIME_API functions as being imported from a DLL, wheras this DLL sees symbols
+// defined with this macro as being exported.
+#ifdef SAMETIME_EXPORTS
+#define SAMETIME_API __declspec(dllexport)
+#else
+#define SAMETIME_API __declspec(dllimport)
+#endif
+
+