[vlc-devel] [PATCH 3/4] contrib: live555: force _UNICODE for Windows Store builds

Steve Lhomme robux4 at ycbcr.xyz
Mon Mar 18 15:37:40 CET 2019


as done in the MSVC build files.

It should only affect tchar based API calls which don't seem to be used, but
since they do it.
---
 contrib/src/live555/rules.mak | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/contrib/src/live555/rules.mak b/contrib/src/live555/rules.mak
index 366c1bf8a6..ff157720bb 100644
--- a/contrib/src/live555/rules.mak
+++ b/contrib/src/live555/rules.mak
@@ -43,6 +43,9 @@ else
 LIVE_TARGET := solaris-32bit
 endif
 endif
+ifdef HAVE_WINSTORE
+LIVE_EXTRA_CFLAGS += -D_UNICODE
+endif
 
 live555: $(LIVE555_FILE) .sum-live555
 	rm -Rf live && $(UNPACK)
-- 
2.17.1



More information about the vlc-devel mailing list