From 8a86901943265db4d3a9fc5e5c98b160a21ed807 Mon Sep 17 00:00:00 2001 From: Denis Biryukov Date: Wed, 21 Mar 2018 15:27:50 +0300 Subject: [PATCH] Fix RR header --- RadeonRays/include/radeon_rays.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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 {