From: Jarkko Hietaniemi Date: Thu, 23 Nov 2000 15:56:52 +0000 (+0000) Subject: STDCHAR is different in Sparc v9 vs x86. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5ae8d7b492625717ffaa50d6e3919f762d3ab467;p=p5sagit%2Fp5-mst-13.2.git STDCHAR is different in Sparc v9 vs x86. p4raw-id: //depot/perl@7835 --- diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index 237efea..dd947fc 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -474,10 +474,17 @@ EOM lddlflags="$lddlflags -G `getconf XBS5_LP64_OFF64_LDFLAGS 2>/dev/null`" ;; esac + libscheck='case "`/usr/bin/file $xxx`" in *64-bit*|*SPARCV9*) ;; *) xxx=/no/64-bit$xxx ;; esac' + + case "`$cc -E $cflags /usr/include/stdio.h | grep _ptr`" in + *"unsigned char"*) stdchar='unsigned char' ;; + *) stdchar='char' ;; + esac + use64bitall_done=yes ;; esac