Premake workspace: use native wchar_t type in VC7.1/8
This was SVN commit r3467.
This commit is contained in:
parent
2f438a6889
commit
13897010d5
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user