ref: 55a5272f685a9c4a3725ff550e4faac4c3ca56a5
parent: 3aed85f717b498276aebdb1c72c8a0faab1d7f44
parent: 67723a5122170705d92633caa9834e754686b90f
author: sijchen <sijchen@cisco.com>
date: Tue May 5 07:53:08 EDT 2015
Merge pull request #1927 from shihuade/WP8_UNICODE_API_Fixed fixed no-support issues due to UNICODE macro for WP8
--- a/build/platform-msvc-wp.mk
+++ b/build/platform-msvc-wp.mk
@@ -2,7 +2,7 @@
include $(SRC_PATH)build/msvc-common.mk
CFLAGS_OPT += -MD
CFLAGS_DEBUG += -MDd
-CFLAGS += -DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP -DWINDOWS_PHONE
+CFLAGS += -DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP -DWINDOWS_PHONE -DUNICODE
# Ignore warnings about the main function prototype when building with -ZW
CXXFLAGS += -ZW -wd4447
LDFLAGS += -nodefaultlib:kernel32.lib -nodefaultlib:ole32.lib WindowsPhoneCore.lib