Changeset 3832


Ignore:
Timestamp:
Mar 2, 2014, 1:02:28 AM (11 years ago)
Author:
bird
Message:

updates

Location:
trunk/libc/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libc/include/complex.h

    r3830 r3832  
    3434#define _COMPLEX_H
    3535
     36#include <sys/cdefs.h>
     37
    3638#ifdef __GNUC__
    3739#if __STDC_VERSION__ < 199901
     
    4143#endif
    4244
    43 #if defined(_MSC_VER) || defined(__WATCOMC__) /* While watcom has _Complex, it causes compiler crashes. */
     45#ifdef __KLIBC_CC_NO_COMPLEX
    4446typedef struct __float_complex       { float       __m_Real, __m_Imag; } __float_complex;
    4547typedef struct __double_complex      { double      __m_Real, __m_Imag; } __double_complex;
  • trunk/libc/include/sys/cdefs.h

    r3831 r3832  
    141141
    142142/** @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__)
    145149#  define __KLIBC_CC_NO_COMPLEX
    146150# endif
Note: See TracChangeset for help on using the changeset viewer.