diff options
author | obrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-23 02:04:20 +0000 |
---|---|---|
committer | obrien <obrien@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-23 02:04:20 +0000 |
commit | 8c864ef755c595368a62b21d9660c5d0de3da412 (patch) | |
tree | 380754d8e08656ec8f4eda2173929d4877c0596d /libobjc/encoding.c | |
parent | dcea1976ee30473251ab6c64781cb116f8361db1 (diff) | |
download | gcc-8c864ef755c595368a62b21d9660c5d0de3da412.tar.gz |
2002-04-19 David O'Brien <obrien@FreeBSD.org>
* encoding.c (MAX, MIN, ROUNDING): #undef before defining.
Approved by: David S. Miller <davem@redhat.com>
Message-Id: <20020419.184825.67430590.davem@redhat.com>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52648 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/encoding.c')
-rw-r--r-- | libobjc/encoding.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libobjc/encoding.c b/libobjc/encoding.c index ec7173774e8..39277235b1f 100644 --- a/libobjc/encoding.c +++ b/libobjc/encoding.c @@ -30,14 +30,17 @@ Boston, MA 02111-1307, USA. */ #include "objc-api.h" #include "encoding.h" +#undef MAX #define MAX(X, Y) \ ({ typeof(X) __x = (X), __y = (Y); \ (__x > __y ? __x : __y); }) +#undef MIN #define MIN(X, Y) \ ({ typeof(X) __x = (X), __y = (Y); \ (__x < __y ? __x : __y); }) +#undef ROUND #define ROUND(V, A) \ ({ typeof(V) __v=(V); typeof(A) __a=(A); \ __a*((__v+__a-1)/__a); }) |