Mercurial > hg > truffle
diff src/share/vm/libadt/port.hpp @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | 2b8e28fdf503 |
children | 52b4284cb496 |
line wrap: on
line diff
--- a/src/share/vm/libadt/port.hpp Tue Apr 01 14:09:03 2014 +0200 +++ b/src/share/vm/libadt/port.hpp Tue Apr 01 13:57:07 2014 +0200 @@ -91,6 +91,8 @@ #define IMPLEMENTATION #include <stdlib.h> #include <memory.h> +inline int min( int a, int b) { return a < b ? a : b; } +inline int max( int a, int b) { return a > b ? a : b; } #elif defined(_MSC_VER) // Microsoft Visual C++