From: Jarkko Hietaniemi Date: Thu, 1 Oct 1998 11:37:26 +0000 (+0300) Subject: Re: Configure test for selectbits busted X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fb164848da8057b394c23415ecfbb92d41f4b650;p=p5sagit%2Fp5-mst-13.2.git Re: Configure test for selectbits busted Message-Id: <199810010837.LAA31371@alpha.hut.fi> p4raw-id: //depot/perl@1917 --- diff --git a/Configure b/Configure index 702862d..de6c3d2 100755 --- a/Configure +++ b/Configure @@ -10867,13 +10867,13 @@ EOM #include #endif #include -#define S sizeof($selecttype) +$selecttype b; +#define S sizeof(*(b)) #define MINBITS 64 #define NBYTES (S * 8 > MINBITS ? S : MINBITS/8) #define NBITS (NBYTES * 8) int main() { char s[NBYTES]; - $selecttype b; struct timeval t; int i; FILE* fp; @@ -10901,6 +10901,13 @@ EOCP if eval $compile_ok; then selectminbits=`./try` case "$selectminbits" in + '') cat >&4 <