diff options
author | Dudemanguy <random342@airmail.cc> | 2022-05-10 10:02:38 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-05-11 14:46:41 +0000 |
commit | 88120d47599da61e17350da4d35b565d5c3e29aa (patch) | |
tree | e7904e4b1de4c0eed38c0b061e7b66d0e4ecbba5 /.github | |
parent | 3458651010a68c2384a19ba485e81e22c825782f (diff) | |
download | mpv-88120d47599da61e17350da4d35b565d5c3e29aa.tar.bz2 mpv-88120d47599da61e17350da4d35b565d5c3e29aa.tar.xz |
client API: always export symbols on windows
Windows is weird and symbols weren't actually being exported. This is
because __GNUC__ is defined and picked up in the conditional, but
__attribute__((visibility("default"))) doesn't actually export anything
to the dll. Instead, just check if we have win32 defined first and then
always set __declspec(dllexport). Fixes #10171.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions