Magellan Linux

Contents of /trunk/libemf/patches/libEMF-1.0-gcc4.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (show annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years ago) by niro
File size: 828 byte(s)
-import

1 --- libEMF-1.0/include/wine/winbase.h 2002-01-08 00:21:04.000000000 +0100
2 +++ libEMF-1.0-patched/include/wine/winbase.h 2006-06-26 01:25:47.000000000 +0200
3 @@ -1803,12 +1803,12 @@
4 #endif /* __i386__ && __GNUC__ */
5
6 /* FIXME: should handle platforms where sizeof(void*) != sizeof(long) */
7 -static inline PVOID WINAPI InterlockedCompareExchangePointer( PVOID *dest, PVOID xchg, PVOID compare )
8 +static inline PVOID WINAPI InterlockedCompareExchangePointer( PVOID *dest, LONG xchg, LONG compare )
9 {
10 return (PVOID)InterlockedCompareExchange( (PLONG)dest, (LONG)xchg, (LONG)compare );
11 }
12
13 -static inline PVOID WINAPI InterlockedExchangePointer( PVOID *dest, PVOID val )
14 +static inline PVOID WINAPI InterlockedExchangePointer( PVOID *dest, LONG val )
15 {
16 return (PVOID)InterlockedExchange( (PLONG)dest, (LONG)val );
17 }