aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/pthreads/fix-arm-macro.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/pthreads/fix-arm-macro.patch')
-rw-r--r--vcpkg/ports/pthreads/fix-arm-macro.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/pthreads/fix-arm-macro.patch b/vcpkg/ports/pthreads/fix-arm-macro.patch
new file mode 100644
index 0000000..559b385
--- /dev/null
+++ b/vcpkg/ports/pthreads/fix-arm-macro.patch
@@ -0,0 +1,13 @@
+diff --git a/context.h b/context.h
+index 33294c1..318b689 100644
+--- a/context.h
++++ b/context.h
+@@ -62,7 +62,7 @@
+ #endif
+
+ #if defined(_ARM_) || defined(ARM) || defined(_M_ARM) || defined(_M_ARM64)
+-#define PTW32_PROGCTR(Context) ((Context).Pc)
++#define __PTW32_PROGCTR(Context) ((Context).Pc)
+ #endif
+
+ #if !defined (__PTW32_PROGCTR)