From: Tim Hunter Date: 2004-06-10T22:23:59+09:00 Subject: Re: #include required for Opteron but not Pentium. On Thu, 10 Jun 2004 13:47:54 +0900, Jim Freeze wrote: > I'm trying to find a solution that works on both 32bit and 64bit > machines without code changes. And it would be best if I didn't > have to have it fail on a 64bit machine to find out. Include "re.h" in your source file. It's always the right thing to do. > > Also, there is no problem with Solaris. Do the C compilers on sun > assume 32bit longs on the 64bit machines...maybe I should go look. Some 64-bit machines use 64-bit pointers but longs are 32 bits. Others make both pointers and longs 64 bits. I don't know which camp Solaris is in. In all cases including re.h solves the problem.