Mail Archives: djgpp-workers/2000/05/01/17:43:03
Here's a first stab at features.h. Corrections to support gcc 3.0 if
necessary are welcome (but I think it will #define __STDC_VERSION__ to
be >= 199901, so it should work as is).
Genesis, Selling England by the Pound,
MartinS
----- libc/features.h starts. -----
/* Copyright (C) 2000 DJ Delorie, see COPYING.DJ for details */
#ifndef __dj_include_libc_features_h__
#define __dj_include_libc_features_h__
#ifdef __cplusplus
extern "C" {
#endif
#if __STDC_VERSION__ >= 199901
#elif __GNUC__ >= 2 && __GNUC_MINOR__ >= 91
#define restrict __restrict__
#else
#define restrict
#endif
#ifdef __cplusplus
}
#endif
#endif /* __dj_include_libc_features_h__ */
----- libc/features.h ends. -----
- Raw text -