mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
make dllexport work with compilers other than MSVC
the issue is, flac and metaflac exes rely on flac_internal_???_utf8() procedures from windows_unicode_filenames.c and there is no easy way to exclude them from exports without breaking things. So export them explicitly (they are exported anyway w/o this patch), but add a FIXME note about the kludge in windows_unicode_filenames.c.
This commit is contained in:
committed by
Erik de Castro Lopo
parent
19a0e99ac3
commit
b917d456d2
@@ -59,7 +59,7 @@
|
||||
#if defined(FLAC__NO_DLL)
|
||||
#define FLAC_API
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
#elif defined(_WIN32)
|
||||
#ifdef FLAC_API_EXPORTS
|
||||
#define FLAC_API __declspec(dllexport)
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user