Message: 3 Date: Fri, 12 Jan 2018 09:32:59 +0100 From: Martin Gieseking <[email protected]> To: freetype-devel <[email protected]> Subject: Re: [ft-devel] FreeType DLL support > I would also suggest to replace > #ifdef _MSC_VER > with > #ifdef _WIN32 > in order to support other Windows > compilers too. > Instead of _DLL it might be better to > use DLL_EXPORT because it's > automatically defined when configuring > the build of a shared library on > Windows with MinGW or Cygwin. No need. The dllexport mechanism is entirely Microsoft compiler-specific - gcc on mingw/Cygwin uses a different symbol scanning and look-up mechanism and does not need those DLL_EXPORT/DLL_IMPORT hacks.
_______________________________________________ Freetype-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype-devel
