mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-27 11:54:24 +08:00
intrin-impl.h: Guard __readfsdword implementation by __has_builtin.
This commit is contained in:
parent
b2fbefa658
commit
2a81d08d61
@ -1448,9 +1448,11 @@ __buildreadseg(__readfsword, unsigned short, "fs", "w")
|
||||
|
||||
#if __INTRINSIC_PROLOG(__readfsdword)
|
||||
unsigned __LONG32 __readfsdword(unsigned __LONG32 Offset);
|
||||
#if !__has_builtin(__readfsdword)
|
||||
__INTRINSICS_USEINLINE
|
||||
__buildreadseg(__readfsdword, unsigned __LONG32, "fs", "l")
|
||||
#define __INTRINSIC_DEFINED___readfsdword
|
||||
#endif
|
||||
#endif /* __INTRINSIC_PROLOG */
|
||||
|
||||
#if __INTRINSIC_PROLOG(__writefsbyte)
|
||||
|
Loading…
Reference in New Issue
Block a user