From: Chip Salzenberg Date: Mon, 17 Feb 1997 05:58:59 +0000 (+1200) Subject: Update Plan 9, Win32, VMS configs with $shortsize and $longsize X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=82488b82be2b77ad90f0f35bb297881e6feeba60;p=p5sagit%2Fp5-mst-13.2.git Update Plan 9, Win32, VMS configs with $shortsize and $longsize --- diff --git a/plan9/config.plan9 b/plan9/config.plan9 index a900df3..8b6b89f 100644 --- a/plan9/config.plan9 +++ b/plan9/config.plan9 @@ -1511,10 +1511,20 @@ #undef I_VARARGS /**/ /* INTSIZE: - * This symbol contains the size of an int, so that the C preprocessor - * can make decisions based on it. + * This symbol contains the value of sizeof(int) so that the C + * preprocessor can make decisions based on it. + */ +/* LONGSIZE: + * This symbol contains the value of sizeof(long) so that the C + * preprocessor can make decisions based on it. + */ +/* SHORTSIZE: + * This symbol contains the value of sizeof(short) so that the C + * preprocessor can make decisions based on it. */ #define INTSIZE 4 /**/ +#define LONGSIZE 4 /**/ +#define SHORTSIZE 2 /**/ /* Free_t: * This variable contains the return type of free(). It is usually diff --git a/plan9/genconfig.pl b/plan9/genconfig.pl index c23bd88..458c4c3 100644 --- a/plan9/genconfig.pl +++ b/plan9/genconfig.pl @@ -82,6 +82,8 @@ eunicefix=':' hint='none' hintfile='' intsize='4' +longsize='4' +shortsize='2' shrplib='define' usemymalloc='n' usevfork='true' diff --git a/vms/genconfig.pl b/vms/genconfig.pl index 22bf016..6c35822 100644 --- a/vms/genconfig.pl +++ b/vms/genconfig.pl @@ -79,6 +79,8 @@ eunicefix=':' hint='none' hintfile='' intsize='4' +longsize='4' +shortsize='2' alignbytes='8' shrplib='define' usemymalloc='n' diff --git a/win32/config.w32 b/win32/config.w32 index 953aba2..7525eeb 100644 --- a/win32/config.w32 +++ b/win32/config.w32 @@ -358,6 +358,7 @@ ln='ln' lns='/usr/bin/ln -s' locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include' loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib' +longsize='4' lp='' lpr='' ls='ls' @@ -426,6 +427,7 @@ sendmail='blat' sh='' shar='' shmattype='char *' +shortsize='2' shrpdir='none' sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 6 20 23 ' signal_t='void'