mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-21 23:29:16 +00:00
- started building with ORCA/C
- changed OPSHIFT macro to use a (unsigned long) vs (unsigned) cast; this at least will compile now; ORCA/C was complaining about 'duplicate label in case statement'.
This commit is contained in:
parent
a5c3c955aa
commit
b7b8ffe87b
@ -35,6 +35,8 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)regex2.h 8.4 (Berkeley) 3/20/94
|
||||
*
|
||||
* $Id: regex2.h,v 1.2 1997/10/08 07:07:14 gdr Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -79,7 +81,11 @@ typedef unsigned long sop; /* strip operator */
|
||||
typedef long sopno;
|
||||
#define OPRMASK 0xf8000000
|
||||
#define OPDMASK 0x07ffffff
|
||||
#ifdef __ORCAC__ /* a 32-bit-ism? */
|
||||
#define OPSHIFT ((unsigned long)27)
|
||||
#else
|
||||
#define OPSHIFT ((unsigned)27)
|
||||
#endif
|
||||
#define OP(n) ((n)&OPRMASK)
|
||||
#define OPND(n) ((n)&OPDMASK)
|
||||
#define SOP(op, opnd) ((op)|(opnd))
|
||||
|
Loading…
Reference in New Issue
Block a user