Changes to CAUDIO_API to try to make linux .so to work.

This commit is contained in:
Joshua Jones 2010-02-20 20:53:18 +00:00
parent bee6c8894d
commit b69d688533
1 changed files with 6 additions and 4 deletions

View File

@ -11,10 +11,12 @@
//! Global define for exporting the library
#ifdef CAUDIO_EXPORTS
#define CAUDIO_API __declspec(dllexport)
#else
#define CAUDIO_API//! __declspec(dllimport)
#endif // CAUDIO_EXPORTS
#ifdef CAUDIO_PLATFORM_WIN
#define CAUDIO_API __declspec(dllexport)
#else
#define CAUDIO_API extern "C"
#endif // CAUDIO_EXPORTS
#endif
#else
#define CAUDIO_API extern "C"