--- old/src/share/vm/utilities/globalDefinitions.hpp Fri Jun 19 12:52:24 2015 +++ new/src/share/vm/utilities/globalDefinitions.hpp Fri Jun 19 12:52:23 2015 @@ -1103,6 +1103,22 @@ //---------------------------------------------------------------------------------------------------- +// Utility functions for characters + +// isblank() in ctype.h only includes space and tab. +// iswhite() includes space, tab, new-line, vertical-tab, formfeed, +// carrage-return. This larger set of characters might be found in a +// text file. +#define iswhite(c) \ + ((c == ' ') || \ + (c == '\t') || \ + (c == '\n') || \ + (c == '\v') || \ + (c == '\f') || \ + (c == '\r')) + + +//---------------------------------------------------------------------------------------------------- // Utility functions for integers // Avoid use of global min/max macros which may cause unwanted double