diff options
author | jkim <jkim@FreeBSD.org> | 2013-05-21 19:17:02 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-05-21 19:17:02 +0000 |
commit | f35b94300055627286d77f0dd748057f5d98b5f0 (patch) | |
tree | 45ae45805b4cd1c1f3f6b1317cc45e1277e9eb25 /contrib/flex/flexint.h | |
parent | af3aaf871a18c81e9986f6470064ec11a6d7ef1a (diff) | |
download | FreeBSD-src-f35b94300055627286d77f0dd748057f5d98b5f0.zip FreeBSD-src-f35b94300055627286d77f0dd748057f5d98b5f0.tar.gz |
Reduce compiler warnings.
Diffstat (limited to 'contrib/flex/flexint.h')
-rw-r--r-- | contrib/flex/flexint.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/flex/flexint.h b/contrib/flex/flexint.h index f9fa80c..c550266 100644 --- a/contrib/flex/flexint.h +++ b/contrib/flex/flexint.h @@ -5,7 +5,8 @@ /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ -#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +#if defined(__FreeBSD__) || \ + (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, * if you want the limit (max/min) macros for int types. |