largest int on different platforms

Howdy all!

What is the maximum long long on different platforms. Anyone know?

In my header I have:

#define X_INT64_MAX   ((nc_int64)9223372036854775804)

This gives me an error on AIX:

"nc4hdf.c", line 2558.31: 1506-207 (W) Integer constant
9223372036854775804 out of range.

Is there some standard way of determining what the largest signed and
unsigned 64-bit int is?

I figure one of you HDF5 people must know, since you have probably had
the same problems.


Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx