mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 08:14:34 +00:00
17 lines
368 B
C
17 lines
368 B
C
#ifndef __TRACYAPI_H__
|
|
#define __TRACYAPI_H__
|
|
|
|
#if defined _WIN32
|
|
# if defined TRACY_EXPORTS
|
|
# define TRACY_API __declspec(dllexport)
|
|
# elif defined TRACY_IMPORTS
|
|
# define TRACY_API __declspec(dllimport)
|
|
# else
|
|
# define TRACY_API
|
|
# endif
|
|
#else
|
|
# define TRACY_API __attribute__((visibility("default")))
|
|
#endif
|
|
|
|
#endif // __TRACYAPI_H__
|