diff options
Diffstat (limited to 'Tests/LibName/foo.c')
-rw-r--r-- | Tests/LibName/foo.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Tests/LibName/foo.c b/Tests/LibName/foo.c index b068b46..c43cde6 100644 --- a/Tests/LibName/foo.c +++ b/Tests/LibName/foo.c @@ -1,5 +1,11 @@ -__declspec(dllimport) void foo(); -__declspec(dllexport) void bar() +#ifdef _WIN32 +__declspec(dllimport) +#endif + void foo(); +#ifdef _WIN32 +__declspec(dllexport) +#endif + void bar() { foo(); } |