X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Fthird_party%2FPluma%2FConfig.hpp;h=2fa7df5a21627b5ad983ffc12e1f75cba07f9924;hb=35d769c683c10f5c18d17a3e423d89f5b30a5b77;hp=23c1635fb80fe9087f93ed0d7bc3d5f579ee29ec;hpb=351f2e4ce6e3b11e77ba27998d41ff4310b806ad;p=cpPlugins.git diff --git a/lib/third_party/Pluma/Config.hpp b/lib/third_party/Pluma/Config.hpp index 23c1635..2fa7df5 100644 --- a/lib/third_party/Pluma/Config.hpp +++ b/lib/third_party/Pluma/Config.hpp @@ -101,46 +101,46 @@ /* =================================================================== * florez-l@javeriana.edu.co: use dll macro defined from cmake instead - * =================================================================== -#if defined(PLUMA_SYS_WINDOWS) + * =================================================================== + #if defined(PLUMA_SYS_WINDOWS) - #ifndef PLUMA_STATIC + #ifndef PLUMA_STATIC - // Windows platforms - #ifdef PLUMA_EXPORTS + // Windows platforms + #ifdef PLUMA_EXPORTS - // From DLL side, we must export - #define PLUMA_API __declspec(dllexport) + // From DLL side, we must export + #define PLUMA_API __declspec(dllexport) - #else + #else - // From client application side, we must import - #define PLUMA_API __declspec(dllimport) + // From client application side, we must import + #define PLUMA_API __declspec(dllimport) - #endif + #endif - // For Visual C++ compilers, we also need to turn off this annoying C4251 warning. - // You can read lots ot different things about it, but the point is the code will - // just work fine, and so the simplest way to get rid of this warning is to disable it - #ifdef _MSC_VER + // For Visual C++ compilers, we also need to turn off this annoying C4251 warning. + // You can read lots ot different things about it, but the point is the code will + // just work fine, and so the simplest way to get rid of this warning is to disable it + #ifdef _MSC_VER - #pragma warning(disable : 4251) + #pragma warning(disable : 4251) - #endif + #endif - #else + #else - // No specific directive needed for static build - #define PLUMA_API + // No specific directive needed for static build + #define PLUMA_API - #endif + #endif -#else + #else - // Other platforms don't need to define anything - #define PLUMA_API + // Other platforms don't need to define anything + #define PLUMA_API -#endif + #endif */ #endif // PLUMA_CONFIG_HPP