A quick hack to have ssize_t work with gcc under SunOS 4 (tested on
authorRichard Levitte <levitte@openssl.org>
Thu, 23 Mar 2000 07:32:34 +0000 (07:32 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 23 Mar 2000 07:32:34 +0000 (07:32 +0000)
SunOS 4.1.4).

Configure

index 3de3d1328f3730478f66c1595e90ff080909d188..8e2741195972c7618ca8e880228a88ee51e6f3f0 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -158,7 +158,7 @@ my %table=(
 
 # Sunos configs, assuming sparc for the gcc one.
 ##"sunos-cc", "cc:-O4 -DNOPROTO -DNOCONST::(unknown)::DES_UNROLL:::",
-"sunos-gcc","gcc:-O3 -mv8::(unknown)::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL DES_PTR DES_RISC1:::",
+"sunos-gcc","gcc:-O3 -mv8 -Dssize_t=int::(unknown)::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL DES_PTR DES_RISC1:::",
 
 #### IRIX 5.x configs
 # -mips2 flag is added by ./config when appropriate.