aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/130 include order/sub1/some.h
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/130 include order/sub1/some.h')
-rw-r--r--meson/test cases/common/130 include order/sub1/some.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/meson/test cases/common/130 include order/sub1/some.h b/meson/test cases/common/130 include order/sub1/some.h
new file mode 100644
index 000000000..6479492ea
--- /dev/null
+++ b/meson/test cases/common/130 include order/sub1/some.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#if defined _WIN32 || defined __CYGWIN__
+ #define DLL_PUBLIC __declspec(dllimport)
+#else
+ #define DLL_PUBLIC
+#endif
+
+DLL_PUBLIC
+int somefunc(void);