vcpkg/ports/pthreads/fix-arm-macro.patch
Park DongHa b466bd598e
[pthreads] support ARM arch and UWP platform (#16348)
* [pthreads] support ARM/UWP

* arm: enable macro __PTW32_PROGCTR
* uwp: LINK option /APPCONTAINER
* uwp: link with 'kernel32', 'windowsapp'

* [pthreads] update baseline and port SHA

* [pthreads] extract changes to patch

* [pthreads] remove pthreads from ci.baseline.txt

* [pthreads] separate uwp patch

* update ci.baseline.txt for arm/arm64

* [pthreads] unify patch list

* update ci.baseline.txt
2021-04-07 14:16:28 -07:00

14 lines
341 B
Diff

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)