From 8b946de857462fdfd5c36fc8aeb15afc9e6a9e36 Mon Sep 17 00:00:00 2001 From: tg Date: Sun, 15 Aug 2010 00:43:55 +0000 Subject: [PATCH] =?UTF-8?q?u=5Fint32=5Ft=20was=20only=20ever=20needed=20fo?= =?UTF-8?q?r=20OpenBSD=E2=80=99s=20pre-ISO-C=20arc4random=20API=20since=20?= =?UTF-8?q?we=20don=E2=80=99t=20have=20that=20any=20longer,=20nuke=20it?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Build.sh | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/Build.sh b/Build.sh index 113f12f..7af48fd 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.456 2010/08/15 00:41:05 tg Exp $' +srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.457 2010/08/15 00:43:55 tg Exp $' #- # Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 # Thorsten Glaser @@ -1096,8 +1096,7 @@ ac_testn can_ucbint8 '!' can_int8type 1 "for UCB 8-bit integer type" <<-'EOF' int main(int ac, char **av) { return ((u_int8_t)av[ac]); } EOF case $HAVE_CAN_INTTYPES$HAVE_CAN_UCBINTS in -01) HAVE_U_INT32_T=1 - echo 'typedef u_int32_t uint32_t;' >>stdint.h ;; +01) echo 'typedef u_int32_t uint32_t;' >>stdint.h ;; 00) echo 'typedef signed int int32_t;' >>stdint.h echo 'typedef unsigned int uint32_t;' >>stdint.h ;; esac @@ -1172,15 +1171,6 @@ fi test 1 = $HAVE_SIG_T || CPPFLAGS="$CPPFLAGS -Dsig_t=nosig_t" ac_cppflags SIG_T -ac_testn u_int32_t <<-'EOF' - #include - #if HAVE_STDINT_H - #include - #endif - int main(void) { return ((int)(u_int32_t)0); } -EOF -test 1 = $HAVE_U_INT32_T || CPPFLAGS="$CPPFLAGS -Du_int32_t=uint32_t" - # # Environment: signals #