search for: 07cfe59

Displaying 2 results from an estimated 2 matches for "07cfe59".

2017 Jan 23
1
os/2 support using Watcom
...efined(FLAC__USE_VISIBILITY_ATTR) #define FLAC_API __attribute__ ((visibility ("default"))) Another option is for the caller to define FLAC_API, eg #define FLAC_API __declspec(__cdecl) #include <flac\all.h> diff --git a/include/FLAC/export.h b/include/FLAC/export.h index d52f0bb..07cfe59 100644 --- a/include/FLAC/export.h +++ b/include/FLAC/export.h @@ -56,6 +56,7 @@ * \{ */ +#ifndef FLAC_API #if defined(FLAC__NO_DLL) #define FLAC_API @@ -66,6 +67,10 @@ #define FLAC_API __declspec(dllimport) #endif +#elif defined(__OS2__) +#define FLAC_API __declspec(dllexport) +#endif +...
2017 Jan 23
4
os/2 support using Watcom
On 01/22/17 02:00 PM, Ozkan Sezer wrote: > Question: Does emx support __declspec(dllexport) so I can adjust > these changes? Because the emx build of the dll seems to have > exported_everything_ :( GCC supports __declspec(dllexport) though it still needs a def file, with no exports. Libtool doesn't currently and as flac uses libtool... Dave