X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fopensslconf.h.in;h=7a1c85d6ec9da07d1f64715bc689a0801c735d12;hp=97e37455634df6559483b37601fff2f4bd9aa3bf;hb=3d411057a5e28530fffc40b257698f453c89aa87;hpb=4a47f5563990ceb30248d449bbac2c125980bdda diff --git a/crypto/opensslconf.h.in b/crypto/opensslconf.h.in index 97e3745563..7a1c85d6ec 100644 --- a/crypto/opensslconf.h.in +++ b/crypto/opensslconf.h.in @@ -101,7 +101,7 @@ #endif #if defined(DES_RISC1) && defined(DES_RISC2) -YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! +#error YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! #endif /* Unroll the inner loop, this sometimes helps, sometimes hinders. @@ -120,7 +120,7 @@ YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! optimization options. Older Sparc's work better with only UNROLL, but there's no way to tell at compile time what it is you're running on */ -#if defined( sun ) /* Newer Sparc's */ +#if defined( __sun ) || defined ( sun ) /* Newer Sparc's */ # define DES_PTR # define DES_RISC1 # define DES_UNROLL