mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
fix linux preprocessor macro use in API header files
This commit is contained in:
@@ -39,7 +39,7 @@ typedef uint32_t bool32;
|
||||
#endif
|
||||
#define RENDERDOC_CC __cdecl
|
||||
|
||||
#elif defined(LINUX)
|
||||
#elif defined(__linux__)
|
||||
|
||||
#ifdef RENDERDOC_EXPORTS
|
||||
#define RENDERDOC_API __attribute__ ((visibility ("default")))
|
||||
|
||||
@@ -41,7 +41,7 @@ typedef uint32_t bool32;
|
||||
#endif
|
||||
#define RENDERDOC_CC __cdecl
|
||||
|
||||
#elif defined(LINUX)
|
||||
#elif defined(__linux__)
|
||||
|
||||
#ifdef RENDERDOC_EXPORTS
|
||||
#define RENDERDOC_API __attribute__ ((visibility ("default")))
|
||||
|
||||
Reference in New Issue
Block a user