diff --git a/reactos/Makefile b/reactos/Makefile index 8ec2925c90c..b35d99fcce8 100644 --- a/reactos/Makefile +++ b/reactos/Makefile @@ -152,11 +152,15 @@ ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32) ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys) export OSTYPE = msys HOST=mingw32-linux +CFLAGS+=-fshort-wchar +CPPFLAGS+=-fshort-wchar else HOST=mingw32-windows endif else HOST=mingw32-linux +CFLAGS+=-fshort-wchar +CPPFLAGS+=-fshort-wchar endif endif diff --git a/reactos/config.rbuild b/reactos/config.rbuild index f6678d2e32b..0f259c47349 100644 --- a/reactos/config.rbuild +++ b/reactos/config.rbuild @@ -44,14 +44,14 @@ - + - +