mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-14 04:01:48 +00:00
15 lines
309 B
C
15 lines
309 B
C
|
#ifndef __TRACYAPI_H__
|
||
|
#define __TRACYAPI_H__
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
# if defined TRACY_IMPORTS
|
||
|
# define TRACY_API __declspec(dllimport)
|
||
|
# else
|
||
|
# define TRACY_API __declspec(dllexport)
|
||
|
# endif
|
||
|
#else
|
||
|
# define TRACY_API __attribute__((visibility("default")))
|
||
|
#endif
|
||
|
|
||
|
#endif // __TRACYAPI_H__
|