Changeset 3832
- Timestamp:
- Mar 2, 2014, 1:02:28 AM (11 years ago)
- Location:
- trunk/libc/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libc/include/complex.h
r3830 r3832 34 34 #define _COMPLEX_H 35 35 36 #include <sys/cdefs.h> 37 36 38 #ifdef __GNUC__ 37 39 #if __STDC_VERSION__ < 199901 … … 41 43 #endif 42 44 43 #if defined(_MSC_VER) || defined(__WATCOMC__) /* While watcom has _Complex, it causes compiler crashes. */45 #ifdef __KLIBC_CC_NO_COMPLEX 44 46 typedef struct __float_complex { float __m_Real, __m_Imag; } __float_complex; 45 47 typedef struct __double_complex { double __m_Real, __m_Imag; } __double_complex; -
trunk/libc/include/sys/cdefs.h
r3831 r3832 141 141 142 142 /** @def __KLIBC_CC_NO_COMPLEX 143 * Indicates that the compiles does not implement _Complex. */ 144 # ifdef _MSC_VER 143 * Indicates that the compiles does not implement _Complex. 144 * 145 * @remarks While watcom 1.9 has the _Complex type, using it causes the 146 * complier to crash, so for all pratical purposes, it cannot be 147 * said to have the type. */ 148 # if defined(_MSC_VER) || defined(__WATCOMC__) 145 149 # define __KLIBC_CC_NO_COMPLEX 146 150 # endif
Note:
See TracChangeset
for help on using the changeset viewer.