commit | 7f4b9bfbc9c779d542e93d46614c798d3327d95c | [log] [tgz] |
---|---|---|
author | Alexei Podtelezhnikov <apodtele@gmail.com> | Sun Nov 07 10:20:16 2021 -0500 |
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | Sun Nov 07 10:20:16 2021 -0500 |
tree | de625e2ae213dd5463d1a20866c386aac41709d6 | |
parent | c693377ed334ad339ac3315a71fa6c38465dfc19 [diff] |
[dlg] Define DLG_STATIC explicitly. DLG_STATIC is intended to disable Windows DLL linking attributes. It does not hurt to define it explicitly when we wrap DLG code. This fixes tons of LNK4286 and C4273 warnings from MSVC if we forget to define DLG_STATIC as a compiler option. * builds/windows/vc2010/freetype.vcxproj: Remove DLG_STATIC option. * src/dlg/dlgwrap.c [FT_DEBUG_LOGGING]: Define DLG_STATIC. * include/freetype/internal/ftdebug.h [FT_DEBUG_LOGGING]: Ditto.