[Spice-devel] [PATCH 19/20] mingw: make sure unicode support is enabled

Christophe Fergeau cfergeau at redhat.com
Thu Mar 1 02:17:53 PST 2012


UNICODE and _UNICODE must be defined before including any mingw
header for proper unicode support.
---
 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 0aa0328..5286ddf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,7 @@
 INCLUDES =				\
 	-I$(top_srcdir)/common		\
 	$(SPICE_PROTOCOL_CFLAGS)
+AM_CPPFLAGS=-DUNICODE -D_UNICODE
 
 bin_PROGRAMS = vdagent vdservice
 
-- 
1.7.7.6



More information about the Spice-devel mailing list