generators/vcproj.pm: remove UNICODE from build
commit6f798b9590ca3a26d6c8e9318929eefef9b640f2
authorMichael Wookey <michaelwookey@gmail.com>
Mon, 28 Sep 2009 10:46:52 +0000 (28 20:46 +1000)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 29 Sep 2009 15:53:51 +0000 (29 08:53 -0700)
tree37365cccc80326610aae84048aca8c4038bcf6bd
parent0484682ef326db0d3b99e71f6ca4551d0f5a4609
generators/vcproj.pm: remove UNICODE from build

Defining UNICODE for MSVC IDE builds results in certain Win32 WIDE
API's receiving ANSI strings. The result of which is an invalid use
of the API and will end in either data corruption or an application
crash.

Prevent the use of WIDE API's when building with the MSVC IDE for
compatibility with msysGit.

Signed-off-by: Michael Wookey <michaelwookey@gmail.com>
Acked-by: Marius Storm-Olsen <mstormo@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
contrib/buildsystems/Generators/Vcproj.pm