aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/dynamic/baz.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dynamic/baz.hpp')
-rw-r--r--examples/dynamic/baz.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/dynamic/baz.hpp b/examples/dynamic/baz.hpp
new file mode 100644
index 0000000..2fc9b2a
--- /dev/null
+++ b/examples/dynamic/baz.hpp
@@ -0,0 +1,9 @@
+#pragma once
+
+#ifdef _MSC_VER
+#define DLLEXPORT __declspec(dllexport)
+#else
+#define DLLEXPORT
+#endif
+
+DLLEXPORT void baz();