summaryrefslogtreecommitdiffstats
path: root/contrib/flex/flexint.h
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-05-21 19:17:02 +0000
committerjkim <jkim@FreeBSD.org>2013-05-21 19:17:02 +0000
commitf35b94300055627286d77f0dd748057f5d98b5f0 (patch)
tree45ae45805b4cd1c1f3f6b1317cc45e1277e9eb25 /contrib/flex/flexint.h
parentaf3aaf871a18c81e9986f6470064ec11a6d7ef1a (diff)
downloadFreeBSD-src-f35b94300055627286d77f0dd748057f5d98b5f0.zip
FreeBSD-src-f35b94300055627286d77f0dd748057f5d98b5f0.tar.gz
Reduce compiler warnings.
Diffstat (limited to 'contrib/flex/flexint.h')
-rw-r--r--contrib/flex/flexint.h3
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.
OpenPOWER on IntegriCloud