freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] FreeType DLL support (Re: Freetype-devel Digest, Vol 156


From: Hin-Tak Leung
Subject: Re: [ft-devel] FreeType DLL support (Re: Freetype-devel Digest, Vol 156, Issue 12)
Date: Fri, 12 Jan 2018 17:30:40 +0000 (UTC)


 Message: 3
 Date: Fri, 12 Jan 2018 09:32:59 +0100
 From: Martin Gieseking <address@hidden>
 To: freetype-devel <address@hidden>
 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]