summaryrefslogtreecommitdiff
path: root/tipper/tipper.h
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2006-11-01 14:46:09 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2006-11-01 14:46:09 +0000
commita13e82647294da4add976a24335fec50d7bfe905 (patch)
tree087acc8d5085391fe71cde7299269c4d0f583c30 /tipper/tipper.h
parentbded3f3d452e097995cbb1e695aaec13a739d1af (diff)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@15 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'tipper/tipper.h')
-rw-r--r--tipper/tipper.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tipper/tipper.h b/tipper/tipper.h
new file mode 100644
index 0000000..94e4778
--- /dev/null
+++ b/tipper/tipper.h
@@ -0,0 +1,12 @@
+// 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 POPUPS2_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
+// POPUPS2_API functions as being imported from a DLL, whereas this DLL sees symbols
+// defined with this macro as being exported.
+#ifdef TIPPER_EXPORTS
+#define TIPPER_API __declspec(dllexport)
+#else
+#define TIPPER_API __declspec(dllimport)
+#endif
+