Change all references to "__INTEL__" to "__i386__".

They are functionally identical, but the former is a BeOS/Haiku-specfic
macro that we include in the compiler specs, and the latter is defined
by GCC.
This commit is contained in:
Augustin Cavalier
2019-03-30 16:54:01 -04:00
parent 1e60bdeab6
commit 5ffbe7d778
49 changed files with 91 additions and 91 deletions
+3 -3
View File
@@ -23,7 +23,7 @@ extern "C" {
extern int32 tls_allocate(void);
#if !_NO_INLINE_ASM && __INTEL__ && __GNUC__
#if !_NO_INLINE_ASM && __i386__ && __GNUC__
static inline void *
tls_get(int32 index)
@@ -54,13 +54,13 @@ tls_set(int32 index, void *value)
: : "r" (index), "r" (value));
}
#else /* !_NO_INLINE_ASM && __INTEL__ && __GNUC__ */
#else /* !_NO_INLINE_ASM && __i386__ && __GNUC__ */
extern void *tls_get(int32 index);
extern void **tls_address(int32 index);
extern void tls_set(int32 index, void *value);
#endif /* !_NO_INLINE_ASM && __INTEL__ && __GNUC__ */
#endif /* !_NO_INLINE_ASM && __i386__ && __GNUC__ */
#ifdef __cplusplus
}