diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-10-16 01:03:11 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-10-16 01:03:11 +0200 |
commit | 2382038f343fdd56e8ba0a26be8e93f30aed048d (patch) | |
tree | 440dfdb9e8971026f6e88e9b74f69ec6cc41555e /include/slibc/c-version.h | |
parent | typo (diff) | |
download | slibc-2382038f343fdd56e8ba0a26be8e93f30aed048d.tar.gz slibc-2382038f343fdd56e8ba0a26be8e93f30aed048d.tar.bz2 slibc-2382038f343fdd56e8ba0a26be8e93f30aed048d.tar.xz |
C89 == C90 == ANSI C == Standard C
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | include/slibc/c-version.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/slibc/c-version.h b/include/slibc/c-version.h index 635ddb4..0cd5c3e 100644 --- a/include/slibc/c-version.h +++ b/include/slibc/c-version.h @@ -79,3 +79,20 @@ # endif #endif +/** + * C89, C90, ANSI C and Standard C are all the + * same standard. + */ +#if defined(__C89__) && !defined(__C90__) +# define __C90__ +#endif +#if defined(__C90__) && !defined(__C89__) +# define __C89__ +#endif +#if defined(__ISOC89_SOURCE) && !defined(__ISOC90_SOURCE) +# define __ISOC90_SOURCE +#endif +#if defined(__ISOC90_SOURCE) && !defined(__ISOC89_SOURCE) +# define __ISOC89_SOURCE +#endif + |