* include/winnt.h (MemoryBarrier): Define to __mingworg_MemoryBarrier()
which is in libmingwex.a. MODIFIED FROM: Use __sync_synchronize instead of creating a function due to multiple definition. NOTE: Not using __sync_synchronize to allow applications to mix-n-match C libraries from different vendors.
This commit is contained in:
parent
525800e855
commit
f29261e662
@ -1,7 +1,11 @@
|
|||||||
2012-08-06 Earnie Boyd <earnie@users.sourceforge.net>
|
2012-08-06 Earnie Boyd <earnie@users.sourceforge.net>
|
||||||
|
|
||||||
* include/winnt.h (MemoryBarrier): Use __sync_synchronize instead of
|
* include/winnt.h (MemoryBarrier): Define to __mingworg_MemoryBarrier()
|
||||||
|
which is in libmingwex.a.
|
||||||
|
MODIFIED FROM: Use __sync_synchronize instead of
|
||||||
creating a function due to multiple definition.
|
creating a function due to multiple definition.
|
||||||
|
NOTE: Not using __sync_synchronize to allow applications to mix-n-match
|
||||||
|
C libraries from different vendors.
|
||||||
|
|
||||||
2012-08-04 Earnie Boyd <earnie@users.sourceforge.net>
|
2012-08-04 Earnie Boyd <earnie@users.sourceforge.net>
|
||||||
|
|
||||||
|
@ -4041,7 +4041,8 @@ struct _TEB * NtCurrentTeb(void);
|
|||||||
# elif defined(_IA64_)
|
# elif defined(_IA64_)
|
||||||
# define MemoryBarrier __mf
|
# define MemoryBarrier __mf
|
||||||
# else
|
# else
|
||||||
# define MemoryBarrier __sync_synchronize
|
void __mingworg_MemoryBarrier(void);
|
||||||
|
# define MemoryBarrier __mingworg_MemoryBarrier
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define MemoryBarrier
|
# define MemoryBarrier
|
||||||
|
Loading…
x
Reference in New Issue
Block a user