summaryrefslogtreecommitdiff
path: root/Tests/ObjectLibrary/B/b.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ObjectLibrary/B/b.h')
-rw-r--r--Tests/ObjectLibrary/B/b.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/ObjectLibrary/B/b.h b/Tests/ObjectLibrary/B/b.h
new file mode 100644
index 000000000..11b22f427
--- /dev/null
+++ b/Tests/ObjectLibrary/B/b.h
@@ -0,0 +1,11 @@
+#ifdef A_DEF
+# error "A_DEF must not be defined"
+#endif
+#ifndef B_DEF
+# error "B_DEF not defined"
+#endif
+#if defined(_WIN32) && defined(Bexport)
+# define EXPORT_B __declspec(dllexport)
+#else
+# define EXPORT_B
+#endif