Mercurial > almixer_isolated
comparison Isolated/tErrorLib.h @ 56:208a9ed20087
Added explicit symbol visibility markers to audio support files in ALmixer for public headers so they can be built as a dynamic library if needed.
author | Eric Wing <ewing@anscamobile.com> |
---|---|
date | Tue, 29 May 2012 19:43:23 -0700 |
parents | 71b465ff0622 |
children | 36644b1b940b |
comparison
equal
deleted
inserted
replaced
55:8b4f80233969 | 56:208a9ed20087 |
---|---|
277 #define TERROR_DECLSPEC __declspec(dllexport) | 277 #define TERROR_DECLSPEC __declspec(dllexport) |
278 #else | 278 #else |
279 #define TERROR_DECLSPEC __declspec(dllimport) | 279 #define TERROR_DECLSPEC __declspec(dllimport) |
280 #endif | 280 #endif |
281 #else | 281 #else |
282 #if defined(ALMIXER_BUILD_LIBRARY) | 282 #if defined(TERROR_BUILD_LIBRARY) |
283 #if defined (__GNUC__) && __GNUC__ >= 4 | 283 #if defined (__GNUC__) && __GNUC__ >= 4 |
284 #define TERROR_DECLSPEC __attribute__((visibility("default"))) | 284 #define TERROR_DECLSPEC __attribute__((visibility("default"))) |
285 #else | 285 #else |
286 #define TERROR_DECLSPEC | 286 #define TERROR_DECLSPEC |
287 #endif | 287 #endif |