Skip to content

Commit 336272b

Browse files
committed
dllexport: test against _WIN32 and __CYGWIN__
1 parent edf58dd commit 336272b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libde265/de265.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ extern "C" {
3636
#endif
3737
#include <stdint.h>
3838

39-
#if defined(_WIN32) && !defined(LIBDE265_STATIC_BUILD)
39+
#if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(LIBDE265_STATIC_BUILD)
4040
#ifdef LIBDE265_EXPORTS
4141
#define LIBDE265_API __declspec(dllexport)
4242
#else

0 commit comments

Comments
 (0)