1diff -urN pthreads-orig/context.h pthreads/context.h
2--- pthreads-orig/context.h	2011-03-04 01:37:20.000000000 +0200
3+++ pthreads/context.h	2018-03-18 13:50:07.362676429 +0200
4@@ -67,6 +67,10 @@
5 #define PTW32_PROGCTR(Context)  ((Context).Pc)
6 #endif
7
8+#if defined(_ARM64_) || defined(__aarch64__)
9+#define PTW32_PROGCTR(Context)  ((Context).Pc)
10+#endif
11+
12 #if !defined(PTW32_PROGCTR)
13 #error Module contains CPU-specific code; modify and recompile.
14 #endif
15