tracy/common/TracyApi.h

17 lines
390 B
C
Raw Normal View History

#ifndef __TRACYAPI_H__
#define __TRACYAPI_H__
2020-02-22 15:02:02 +00:00
#if defined _WIN32 || defined __CYGWIN__
# 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__