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

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to