Skip to content

Commit

Permalink
Fix RR header
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBirukov committed Mar 21, 2018
1 parent 0b13fd1 commit 8a86901
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions RadeonRays/include/radeon_rays.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

1 comment on commit 8a86901

@norsetto
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this break builds for RR as a static library? I just patched in again a:
#else
#define RRAPI

and the builds are successful.

Please sign in to comment.