diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-30 15:12:56 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-30 15:12:56 (GMT) |
commit | 3dca9a681f247c3b5b51ef43833e3ed9529a3943 (patch) | |
tree | fb5b1544eac9db38eecb9c680aad6e135aa78194 /Tests/LibName/foo.c | |
parent | 04280871698816e504320fea3e76a7add612ba31 (diff) | |
download | CMake-3dca9a681f247c3b5b51ef43833e3ed9529a3943.zip CMake-3dca9a681f247c3b5b51ef43833e3ed9529a3943.tar.gz CMake-3dca9a681f247c3b5b51ef43833e3ed9529a3943.tar.bz2 |
ENH: put fix for foo.dll.lib problem on branch with test
Diffstat (limited to 'Tests/LibName/foo.c')
-rw-r--r-- | Tests/LibName/foo.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/LibName/foo.c b/Tests/LibName/foo.c new file mode 100644 index 0000000..a689704 --- /dev/null +++ b/Tests/LibName/foo.c @@ -0,0 +1,11 @@ +#ifdef _WIN32 +__declspec(dllimport) +#endif +extern void foo(); +#ifdef _WIN32 +__declspec(dllexport) +#endif + void bar() +{ + foo(); +} |