vcpkg/ports/pthreads/fix-arm64-version_rc.patch
Ice0 6cf58ad402
[pthreads] Fixed build on Windows ARM64 (#27299)
* [pthreads] Fixed Windows ARM build

* [pthreads] bump port-version

* * Add upstream submission link.
* Use VERSION
* Add quotes around NMAKE's path.

Co-authored-by: Billy O'Neal <bion@microsoft.com>
2022-11-01 19:35:08 -07:00

23 lines
858 B
Diff

diff --git a/version.rc b/version.rc
index aa0596c..9c8231e 100644
--- a/version.rc
+++ b/version.rc
@@ -63,6 +63,17 @@
# define __PTW32_VERSIONINFO_NAME "pthreadVSE2.DLL\0"
# define __PTW32_VERSIONINFO_DESCRIPTION "MS C SEH x86\0"
# endif
+# elif defined (__PTW32_ARCHARM64)
+# if defined(__PTW32_CLEANUP_C)
+# define __PTW32_VERSIONINFO_NAME "pthreadVC2.DLL\0"
+# define __PTW32_VERSIONINFO_DESCRIPTION "MS C arm64\0"
+# elif defined(__PTW32_CLEANUP_CXX)
+# define __PTW32_VERSIONINFO_NAME "pthreadVCE2.DLL\0"
+# define __PTW32_VERSIONINFO_DESCRIPTION "MS C++ arm64\0"
+# elif defined(__PTW32_CLEANUP_SEH)
+# define __PTW32_VERSIONINFO_NAME "pthreadVSE2.DLL\0"
+# define __PTW32_VERSIONINFO_DESCRIPTION "MS C SEH arm64\0"
+# endif
# endif
#elif defined(__GNUC__)
# if defined(_M_X64)