diff options
author | Ilya Zakharevich <ilya@math.berkeley.edu> | 1998-06-09 19:02:52 -0400 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-06-10 07:35:29 +0000 |
commit | 83cfe48c09335ee3e3bb5bf1d853188ba46fbd0a (patch) | |
tree | c82bbb26c8c0bfe7c50b7dd33c8929197dfcc1a4 | |
parent | bfab39a2c6d2aba761739058fc35b9c9412a492b (diff) | |
download | perl-83cfe48c09335ee3e3bb5bf1d853188ba46fbd0a.tar.gz |
Re: [PATCH 5.004_66] REG_INFTY patch corrected
Message-Id: <199806100302.XAA04958@monk.mps.ohio-state.edu>
p4raw-id: //depot/perl@1109
-rw-r--r-- | regcomp.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -271,10 +271,9 @@ struct regnode_2 { #endif -/* I16_MAX is no good for REG_INFTY because sizeof(short) > 2 - * is perfectly fine. In Cray C90 sizeof(short) == 4, - * in Cray T90 sizeof(short) == 8. */ -#define REG_INFTY ((1<<15)-1) +#ifndef +# define REG_INFTY I16_MAX +#endif #ifdef REGALIGN # define ARG_VALUE(arg) (arg) |