Mercurial > almixer_isolated
comparison Isolated/tErrorLib.h @ 72:398d1cb12448
Bug fix for unbalanced #if/#endif blocks. I think I broke it when removing the dllimport for Windows.
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Mon, 16 Jul 2012 22:31:56 -0700 |
parents | 36644b1b940b |
children |
comparison
equal
deleted
inserted
replaced
71:36644b1b940b | 72:398d1cb12448 |
---|---|
273 | 273 |
274 /** Windows needs to know explicitly which functions to export in a DLL. */ | 274 /** Windows needs to know explicitly which functions to export in a DLL. */ |
275 #if defined(_WIN32) | 275 #if defined(_WIN32) |
276 #if defined(TERROR_BUILD_LIBRARY) | 276 #if defined(TERROR_BUILD_LIBRARY) |
277 #define TERROR_DECLSPEC __declspec(dllexport) | 277 #define TERROR_DECLSPEC __declspec(dllexport) |
278 #else | |
279 #define TERROR_DECLSPEC | |
278 #endif | 280 #endif |
279 #else | 281 #else |
280 #if defined(TERROR_BUILD_LIBRARY) | 282 #if defined(TERROR_BUILD_LIBRARY) |
281 #if defined (__GNUC__) && __GNUC__ >= 4 | 283 #if defined (__GNUC__) && __GNUC__ >= 4 |
282 #define TERROR_DECLSPEC __attribute__((visibility("default"))) | 284 #define TERROR_DECLSPEC __attribute__((visibility("default"))) |