build: Unicode crossbuilds.

This commit is contained in:
Henri Verbeet 2016-09-29 19:32:19 +02:00
parent adb31f94c2
commit dc7504c7fc
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ libvkd3d.pc: $(srcdir)/libs/vkd3d/libvkd3d.pc.in
## Cross-compile tests ## Cross-compile tests
cross_implibs = crosslibs/d3d12 cross_implibs = crosslibs/d3d12
CROSS_CPPFLAGS = -I$(srcdir)/include -I$(srcdir)/include/private -I$(builddir)/include CROSS_CPPFLAGS = -I$(srcdir)/include -I$(srcdir)/include/private -I$(builddir)/include
CROSS_CFLAGS = -g -O2 -Wall ${CROSS_CPPFLAGS} CROSS_CFLAGS = -g -O2 -Wall -municode ${CROSS_CPPFLAGS}
if HAS_CROSSTARGET32 if HAS_CROSSTARGET32
CROSS32_CC = @CROSSCC32@ CROSS32_CC = @CROSSCC32@

View File

@ -162,7 +162,7 @@ static void vkd3d_test_trace(unsigned int line, const char *fmt, ...)
va_end(args); va_end(args);
} }
int main(int argc, char **argv) int wmain(void)
{ {
const char *vkd3d_test_debug; const char *vkd3d_test_debug;