]> granicus.if.org Git - flex/commitdiff
scanner: correct comments about __STDC_LIMIT_MACROS.
authorExplorer09 <explorer09@gmail.com>
Thu, 8 Mar 2018 01:53:24 +0000 (09:53 +0800)
committerWill Estes <westes575@gmail.com>
Thu, 8 Mar 2018 21:00:24 +0000 (16:00 -0500)
No code changes.

Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
src/flexint.h

index 43bb3a8276b0e1db3865f977e41effb9b75b1c6a..13f880926adb10d7438237c53cfdc7eff9189401 100644 (file)
@@ -7,8 +7,8 @@
 
 #if 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. 
+/* C++ systems might need __STDC_LIMIT_MACROS defined before including
+ * <stdint.h>, if you want the limit (max/min) macros for int types.
  */
 #ifndef __STDC_LIMIT_MACROS
 #define __STDC_LIMIT_MACROS 1