summaryrefslogtreecommitdiffstats
path: root/Tests/CustComDepend/bar.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-12-30 00:20:56 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-12-30 00:20:56 (GMT)
commit113231d182d14c749a8399b5153939c74c16bdb4 (patch)
tree20bbf87924e0225c650fad4d1f40054f1daf4144 /Tests/CustComDepend/bar.h
parenta9819e1c4c9804a9803faf88ba4dff30eb9339a2 (diff)
downloadCMake-113231d182d14c749a8399b5153939c74c16bdb4.zip
CMake-113231d182d14c749a8399b5153939c74c16bdb4.tar.gz
CMake-113231d182d14c749a8399b5153939c74c16bdb4.tar.bz2
ENH: try to fix test on watcom
Diffstat (limited to 'Tests/CustComDepend/bar.h')
-rw-r--r--Tests/CustComDepend/bar.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/CustComDepend/bar.h b/Tests/CustComDepend/bar.h
new file mode 100644
index 0000000..d462c9b
--- /dev/null
+++ b/Tests/CustComDepend/bar.h
@@ -0,0 +1,9 @@
+#ifdef _WIN32
+# ifdef bar_EXPORTS
+# define BAR_EXPORT __declspec( dllexport )
+# else
+# define BAR_EXPORT __declspec( dllimport )
+# endif
+#else
+# define BAR_EXPORT
+#endif