Rev 4921 | Rev 6109 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4921 | Rev 6099 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /* |
1 | /* |
2 | * Written by Joel Sherrill |
2 | * Written by Joel Sherrill |
3 | * |
3 | * |
4 | * COPYRIGHT (c) 1989-2000. |
4 | * COPYRIGHT (c) 1989-2014. |
5 | * |
5 | * |
6 | * On-Line Applications Research Corporation (OAR). |
6 | * On-Line Applications Research Corporation (OAR). |
7 | * |
7 | * |
8 | * Permission to use, copy, modify, and distribute this software for any |
8 | * Permission to use, copy, modify, and distribute this software for any |
9 | * purpose without fee is hereby granted, provided that this entire notice |
9 | * purpose without fee is hereby granted, provided that this entire notice |
Line 13... | Line 13... | ||
13 | * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED |
13 | * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED |
14 | * WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION |
14 | * WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION |
15 | * OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS |
15 | * OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS |
16 | * SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. |
16 | * SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. |
17 | * |
17 | * |
18 | * $Id: features.h,v 1.30 2013/04/23 09:42:25 corinna Exp $ |
18 | * $Id$ |
19 | */ |
19 | */ |
Line 20... | Line 20... | ||
20 | 20 | ||
21 | #ifndef _SYS_FEATURES_H |
21 | #ifndef _SYS_FEATURES_H |
Line 22... | Line 22... | ||
22 | #define _SYS_FEATURES_H |
22 | #define _SYS_FEATURES_H |
23 | 23 | ||
24 | #ifdef __cplusplus |
24 | #ifdef __cplusplus |
Line -... | Line 25... | ||
- | 25 | extern "C" { |
|
- | 26 | #endif |
|
- | 27 | ||
- | 28 | /* Macros to determine that newlib is being used. Put in this header to |
|
- | 29 | * be similar to where glibc stores its version of these macros. |
|
- | 30 | */ |
|
25 | extern "C" { |
31 | #define __NEWLIB__ 2 |
26 | #endif |
32 | #define __NEWLIB_MINOR__ 2 |
27 | 33 | ||
28 | /* Macro to test version of GCC. Returns 0 for non-GCC or too old GCC. */ |
34 | /* Macro to test version of GCC. Returns 0 for non-GCC or too old GCC. */ |
29 | #ifndef __GNUC_PREREQ |
35 | #ifndef __GNUC_PREREQ |