summaryrefslogtreecommitdiffstats
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 0000000..632004d
--- /dev/null
+++ b/Tests/ObjectLibrary/B/b.h
@@ -0,0 +1,11 @@
+#ifdef A
+# error "A must not be defined"
+#endif
+#ifndef B
+# error "B not defined"
+#endif
+#if defined(_WIN32) && defined(Bexport)
+# define EXPORT_B __declspec(dllexport)
+#else
+# define EXPORT_B
+#endif