summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
Diffstat (limited to 'hints')
-rw-r--r--hints/solaris_2.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index 237efeafa6..dd947fc72b 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