STDCHAR is different in Sparc v9 vs x86.
Jarkko Hietaniemi [Thu, 23 Nov 2000 15:56:52 +0000 (15:56 +0000)]
p4raw-id: //depot/perl@7835

hints/solaris_2.sh

index 237efea..dd947fc 100644 (file)
@@ -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