On Wed Nov 15 15:37:08 2023 +0000, Alexandre Julliard wrote:
Wouldn't it be easier to simply #define DECLSPEC_EXPORT to nothing for PE builds?
Sure, I wasn't sure about that. Marking debug functions that are not meant to be exported with DECLSPEC_EXPORT seems a bit misleading, but it's not a big deal.
I used `!defined(WINE_UNIX_LIB)` instead of `__WINE_PE_BUILD` to also cover non-mingw builds.