diff --git a/RadeonRays/include/radeon_rays.h b/RadeonRays/include/radeon_rays.h index e8a1f419..10feb6ee 100644 --- a/RadeonRays/include/radeon_rays.h +++ b/RadeonRays/include/radeon_rays.h @@ -39,15 +39,9 @@ THE SOFTWARE. #else #define RRAPI __declspec(dllimport) #endif -#elif defined(__GNUC__) - #ifdef EXPORT_API +#else #define RRAPI __attribute__((visibility ("default"))) - #else - #define RRAPI - #endif #endif -#else -#define RRAPI #endif namespace RadeonRays {