Mercurial > hg > truffle
comparison src/share/vm/libadt/port.hpp @ 17812:a7d4d4655766
Merge
author | kvn |
---|---|
date | Wed, 26 Mar 2014 18:21:05 -0700 |
parents | 2b8e28fdf503 |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
17789:6b207d038106 | 17812:a7d4d4655766 |
---|---|
89 // IBM's xlC compiler | 89 // IBM's xlC compiler |
90 #define INTERFACE | 90 #define INTERFACE |
91 #define IMPLEMENTATION | 91 #define IMPLEMENTATION |
92 #include <stdlib.h> | 92 #include <stdlib.h> |
93 #include <memory.h> | 93 #include <memory.h> |
94 inline int min( int a, int b) { return a < b ? a : b; } | |
95 inline int max( int a, int b) { return a > b ? a : b; } | |
96 | 94 |
97 #elif defined(_MSC_VER) | 95 #elif defined(_MSC_VER) |
98 // Microsoft Visual C++ | 96 // Microsoft Visual C++ |
99 //#define INTERFACE | 97 //#define INTERFACE |
100 #define IMPLEMENTATION | 98 #define IMPLEMENTATION |