OpenJDK / jdk / jdk
changeset 49461:6e9e88d82781
8199356: Fix hotspot to allow stdlib to use libc++ and to allow changing the deployment target to 10.9
Summary: Remove conflicting poison min/max define
Reviewed-by: kbarrett, lfoltan
author | gziemski |
---|---|
date | Mon, 19 Mar 2018 13:57:08 -0500 |
parents | e786d01c47f2 |
children | 00992d4e8a23 |
files | src/hotspot/share/utilities/globalDefinitions.hpp |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/share/utilities/globalDefinitions.hpp Mon Mar 19 13:37:57 2018 -0500 +++ b/src/hotspot/share/utilities/globalDefinitions.hpp Mon Mar 19 13:57:08 2018 -0500 @@ -1012,12 +1012,6 @@ #undef min #endif -// The following defines serve the purpose of preventing use of accidentally -// included min max macros from compiling, while continuing to allow innocent -// min and max identifiers in the code to compile as intended. -#define max max -#define min min - // It is necessary to use templates here. Having normal overloaded // functions does not work because it is necessary to provide both 32- // and 64-bit overloaded functions, which does not work, and having