]> git.pld-linux.org Git - packages/crossmingw32-harfbuzz.git/blob - harfbuzz-win32.patch
- updated to 8.4.0
[packages/crossmingw32-harfbuzz.git] / harfbuzz-win32.patch
1 --- harfbuzz-1.1.3/src/hb-uniscribe.cc.orig     2016-01-06 13:29:29.337284954 +0100
2 +++ harfbuzz-1.1.3/src/hb-uniscribe.cc  2016-01-12 17:19:29.371811035 +0100
3 @@ -42,6 +42,9 @@
4  #define HB_DEBUG_UNISCRIBE (HB_DEBUG+0)
5  #endif
6  
7 +#ifndef E_NOT_SUFFICIENT_BUFFER
8 +#define E_NOT_SUFFICIENT_BUFFER ((HRESULT)0x8007007A)
9 +#endif
10  
11  static inline uint16_t hb_uint16_swap (const uint16_t v)
12  { return (v >> 8) | (v << 8); }
13 --- harfbuzz-1.4.5/src/hb-atomic-private.hh.orig        2016-07-13 04:09:47.000000000 +0200
14 +++ harfbuzz-1.4.5/src/hb-atomic-private.hh     2017-04-09 14:28:37.769359459 +0200
15 @@ -67,7 +67,7 @@
16  #define hb_atomic_int_impl_add(AI, V)          InterlockedExchangeAdd (&(AI), (V))
17  
18  #define hb_atomic_ptr_impl_get(P)              (_HBMemoryBarrier (), (void *) *(P))
19 -#define hb_atomic_ptr_impl_cmpexch(P,O,N)      (InterlockedCompareExchangePointer ((void **) (P), (void *) (N), (void *) (O)) == (void *) (O))
20 +#define hb_atomic_ptr_impl_cmpexch(P,O,N)      (((void*)InterlockedCompareExchange((long volatile*)(void **) (P), (long)(void *) (N), (long)(void *) (O))) == (void *) (O))
21  
22  
23  #elif !defined(HB_NO_MT) && defined(__APPLE__)
This page took 0.060987 seconds and 3 git commands to generate.