12 bits compiler
Lars Brinkhoff
lars.spam@nocrew.org
Wed Jun 19 04:45:00 GMT 2002
Pierre Mallard <pierremallard@yahoo.fr> writes:
> #ifdef GVPP_FORMAT_12
> #define SIZE_TYPE "long unsigned int"
> #else
> #ifdef GVPP_FORMAT_16
> #define SIZE_TYPE "long unsigned int"
> #else
> #define SIZE_TYPE "unsigned int"
> #endif
> #endif
>
> #ifdef GVPP_FORMAT_12
> #define PTRDIFF_TYPE "unsigned int"
> #else
> #ifdef GVPP_FORMAT_16
> #define PTRDIFF_TYPE "unsigned int"
> #else
> #define PTRDIFF_TYPE "unsigned int"
> #endif
> #endif
PTRDIFF_TYPE should probably be the corresponding signed SIZE_TYPE.
--
Lars Brinkhoff http://lars.nocrew.org/ Linux, GCC, PDP-10,
Brinkhoff Consulting http://www.brinkhoff.se/ HTTP programming
More information about the Gcc
mailing list