diff options
Diffstat (limited to 'compiler-rt/test/Unit/int_lib.h')
-rw-r--r-- | compiler-rt/test/Unit/int_lib.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler-rt/test/Unit/int_lib.h b/compiler-rt/test/Unit/int_lib.h index bc8c98e78de..e5bfd663001 100644 --- a/compiler-rt/test/Unit/int_lib.h +++ b/compiler-rt/test/Unit/int_lib.h @@ -149,4 +149,11 @@ typedef union long double f; } long_double_bits; + +/* for test cases that are only applicable to */ +/* architectures with 80-bit long doubles */ +#if __i386__ || __x86_64__ + #define HAS_80_BIT_LONG_DOUBLE 1 +#endif + #endif /* INT_LIB_H */ |