diff options
author | mike <mike@FreeBSD.org> | 2001-11-12 18:33:00 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2001-11-12 18:33:00 +0000 |
commit | a2cc9fca25efc8d1ca2cd40cee504b4348bd0188 (patch) | |
tree | 17128ca4c6c4eb5a4af6156bf9bff8b61eeca0af /sys | |
parent | 25544c8c3202c1c268bbeff46a0601604b0c7d5e (diff) | |
download | FreeBSD-src-a2cc9fca25efc8d1ca2cd40cee504b4348bd0188.zip FreeBSD-src-a2cc9fca25efc8d1ca2cd40cee504b4348bd0188.tar.gz |
Add the ability to distinguish between compile environments that
support `long long' and those that don't.
Reviewed by: bde
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/cdefs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index 167e453..aa177bd 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -133,6 +133,11 @@ #define __func__ NULL #endif +/* XXX: should use `#if __STDC_VERSION__ >= 199901'. */ +#if defined(__GNUC__) && !defined(__STRICT_ANSI__) +#define __LONG_LONG_SUPPORTED +#endif + /* * Compiler-dependent macros to declare that functions take printf-like * or scanf-like arguments. They are null except for versions of gcc |