]> git.pld-linux.org Git - packages/crossmingw32-harfbuzz.git/blobdiff - harfbuzz-win32.patch
- updated to 1.7.1
[packages/crossmingw32-harfbuzz.git] / harfbuzz-win32.patch
index d1d958775344505339cd1b81d1fec6e0107960c7..0524bf71a557c03d1a4ae179c6ecfa2edf1b6e7d 100644 (file)
  
  static inline uint16_t hb_uint16_swap (const uint16_t v)
  { return (v >> 8) | (v << 8); }
+--- harfbuzz-1.4.5/src/hb-atomic-private.hh.orig       2016-07-13 04:09:47.000000000 +0200
++++ harfbuzz-1.4.5/src/hb-atomic-private.hh    2017-04-09 14:28:37.769359459 +0200
+@@ -67,7 +67,7 @@
+ #define hb_atomic_int_impl_add(AI, V)         InterlockedExchangeAdd (&(AI), (V))
+ #define hb_atomic_ptr_impl_get(P)             (_HBMemoryBarrier (), (void *) *(P))
+-#define hb_atomic_ptr_impl_cmpexch(P,O,N)     (InterlockedCompareExchangePointer ((void **) (P), (void *) (N), (void *) (O)) == (void *) (O))
++#define hb_atomic_ptr_impl_cmpexch(P,O,N)     (((void*)InterlockedCompareExchange((long volatile*)(void **) (P), (long)(void *) (N), (long)(void *) (O))) == (void *) (O))
+ #elif !defined(HB_NO_MT) && defined(__APPLE__)
This page took 0.028041 seconds and 4 git commands to generate.