intrin-impl.h: Guard __readfsdword implementation by __has_builtin.

This commit is contained in:
Jacek Caban 2016-03-16 17:11:43 +01:00
parent b2fbefa658
commit 2a81d08d61

View File

@ -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)