From 13897010d56081de83a5e66ea82ea92e2d407d65 Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Fri, 3 Feb 2006 22:29:53 +0000 Subject: [PATCH] Premake workspace: use native wchar_t type in VC7.1/8 This was SVN commit r3467. --- build/premake/premake.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/premake/premake.lua b/build/premake/premake.lua index ebe3d9db5b..2ed04e7bd9 100755 --- a/build/premake/premake.lua +++ b/build/premake/premake.lua @@ -222,6 +222,11 @@ function setuppackage_engine (projectname) -- required to use WinMain() on Windows, otherwise will default to main() tinsert(package.buildflags, { "no-main" }) + -- use native wchar_t type (not typedef to unsigned short) + package.buildoptions = { + "/Zc:wchar_t", + } + package.pchHeader = "precompiled.h" package.pchSource = "precompiled.cpp"