commit | e362008c3564bd6b48964a07d3f7300e1240b90d | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Sat Jan 02 10:25:53 2016 -0800 |
committer | Sam Lantinga <slouken@libsdl.org> | Sat Jan 02 10:25:53 2016 -0800 |
tree | 4680667c3fe89ec37c271ee561a98c6922858484 | |
parent | c9846513efa9fe181e2c270e42a8cdb7fcfff2ad [diff] |
Fixed bug 3092 - Statically link sdl2 with /MT for msvc Martin Gerhardy According to https://msdn.microsoft.com/de-de/library/2kzt1wy3%28v=vs.120%29.aspx when one is using /MT for msvc compilations the libcmt.lib is already linked to the binary. This lib includes the symbol that is now guarded (see attached patch) by the #ifndef _MT.