Use dllimport/dllexport on cygwin.

This commit is contained in:
Bartosz Taudul 2020-02-22 16:02:02 +01:00
parent baf8e6fe80
commit 13febeb902

View File

@ -1,7 +1,7 @@
#ifndef __TRACYAPI_H__
#define __TRACYAPI_H__
#ifdef _WIN32
#if defined _WIN32 || defined __CYGWIN__
# if defined TRACY_IMPORTS
# define TRACY_API __declspec(dllimport)
# else