diff options
Diffstat (limited to 'vcpkg/ports/crashrpt/003-add-definition-UNICODE.patch')
| -rw-r--r-- | vcpkg/ports/crashrpt/003-add-definition-UNICODE.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/vcpkg/ports/crashrpt/003-add-definition-UNICODE.patch b/vcpkg/ports/crashrpt/003-add-definition-UNICODE.patch new file mode 100644 index 0000000..1a8b60a --- /dev/null +++ b/vcpkg/ports/crashrpt/003-add-definition-UNICODE.patch @@ -0,0 +1,39 @@ +diff --git a/processing/crashrptprobe/CMakeLists.txt b/processing/crashrptprobe/CMakeLists.txt +index c513c6d..8ac306a 100644 +--- a/processing/crashrptprobe/CMakeLists.txt ++++ b/processing/crashrptprobe/CMakeLists.txt +@@ -13,7 +13,7 @@ list(REMOVE_ITEM srcs_using_precomp ./CrashRptProbe.rc ./CrashRptProbe.def ./st + add_msvc_precompiled_header(stdafx.h ./stdafx.cpp srcs_using_precomp) + + # Define _UNICODE (use wide-char encoding) +-add_definitions(-D_UNICODE) ++add_definitions(-D_UNICODE -DUNICODE) + + fix_default_compiler_settings_() + +diff --git a/reporting/crashrpt/CMakeLists.txt b/reporting/crashrpt/CMakeLists.txt +index c7e4fd6..da9cef1 100644 +--- a/reporting/crashrpt/CMakeLists.txt ++++ b/reporting/crashrpt/CMakeLists.txt +@@ -12,7 +12,7 @@ list(REMOVE_ITEM srcs_using_precomp ./CrashRpt.rc ./StdAfx.cpp ./CrashRpt.def) + add_msvc_precompiled_header(stdafx.h ./StdAfx.cpp srcs_using_precomp) + + # Define _UNICODE (use wide-char encoding) +-add_definitions(-D_UNICODE -D_CRT_SECURE_NO_DEPRECATE) ++add_definitions(-D_UNICODE -DUNICODE -D_CRT_SECURE_NO_DEPRECATE) + + # Modify default compiler settings + fix_default_compiler_settings_() +diff --git a/reporting/crashsender/CMakeLists.txt b/reporting/crashsender/CMakeLists.txt +index aa4ab8a..f081254 100644 +--- a/reporting/crashsender/CMakeLists.txt ++++ b/reporting/crashsender/CMakeLists.txt +@@ -15,7 +15,7 @@ list(APPEND source_files + ${CMAKE_SOURCE_DIR}/reporting/CrashRpt/SharedMem.cpp) + + # Define _UNICODE (use wide-char encoding) +-add_definitions(-D_UNICODE ) ++add_definitions(-D_UNICODE -DUNICODE) + + fix_default_compiler_settings_() + |