Only use __declspec(dllimport/dllexport) for MSVC compiler

Use the gcc visibility attributes when building with the MinGW compiler(gcc).
GCC also supports the __declspec syntax but it will not compile at the moment
until the issues(which may not even be exactly the same issues as with MSVC)
are resolved.
This commit is contained in:
Tim Mayberry 2013-12-05 21:11:18 +10:00
parent ccebb050e4
commit 3a885d6177
7 changed files with 7 additions and 42 deletions