I was pretty sure I remembered adding that, and it turns out I was right: $ grep NSIntegerMax Foundation/* Foundation/NSObjCRuntime.h:# define NSIntegerMax INTPTR_MAX
In answer to your second question, yes there is a portable way of computing it: it's identical to the C99 INTPTR_MAX macro defined in stdint.h. David On 5 Oct 2011, at 18:43, Antonio Vieiro wrote: > Hi all, > > I'm porting some source code from an Apple environment to GNUstep, and > I'm noticing that NSIntegerMax (the maximum value of an integer) seems > to be missing from GNUstep headers. > > Is this so? Is there a portable way to compute NSIntegerMax with GNUstep? > > Thanks in advance, > Antonio > > _______________________________________________ > Gnustep-dev mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/gnustep-dev -- Sent from my IBM 1620 _______________________________________________ Gnustep-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnustep-dev
