Hello List,

I see that intptr_t type is defined for all supported Unix that are not
Linux.
Is there are reason why it was never declared for Linux ?

stdint.h is define it like so:
/* Types for `void *' pointers.  */
#if __WORDSIZE == 64
# ifndef __intptr_t_defined
typedef long int    intptr_t;
#  define __intptr_t_defined
# endif
typedef unsigned long int uintptr_t;
#else
# ifndef __intptr_t_defined
typedef int     intptr_t;
#  define __intptr_t_defined
# endif
typedef unsigned int    uintptr_t;
#endif


Thanks,

Ido

LINESIP - Opening the source for communication
http://www.linesip.com
http://www.linesip.co.il
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to