On Friday, June 15, 2001, at 12:43  PM, Jarkko Hietaniemi wrote:

> On Fri, Jun 15, 2001 at 12:39:20PM -0700, Edward Moy wrote:
>> I didn't notice that a bug report had been filed, so I filed Radar
>> #2710821 about the INT32_MIN problem (and as it turns out, INT64_MIN has
>> the same problem).
>
> The long term solution would be of course to fix the header in the
> compiler, for short term I can do hacks like
>
> #ifdef ....something to match darwin...
> #undef  INT32_MIN
> #undef  INT64_MIN
> #define INT64_MIN ...
> #define INT64_MIN ...
> #endif
>
> What would that "something" be?

#define INT32_MIN       (-2147483647 - 1)
#define INT64_MIN       (-9223372036854775807LL - 1)

seems to work.
--------------------------------------------------------------------------
Edward Moy
Apple Computer, Inc.
[EMAIL PROTECTED]

Reply via email to