summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport/Export/testLibNoSONAME.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ExportImport/Export/testLibNoSONAME.c')
-rw-r--r--Tests/ExportImport/Export/testLibNoSONAME.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/ExportImport/Export/testLibNoSONAME.c b/Tests/ExportImport/Export/testLibNoSONAME.c
new file mode 100644
index 0000000..2193e1f
--- /dev/null
+++ b/Tests/ExportImport/Export/testLibNoSONAME.c
@@ -0,0 +1,7 @@
+#if defined(_WIN32) || defined(__CYGWIN__)
+# define testLibNoSONAME_EXPORT __declspec(dllexport)
+#else
+# define testLibNoSONAME_EXPORT
+#endif
+
+testLibNoSONAME_EXPORT int testLibNoSONAME(void) { return 0; }