Sha256: 8069991c74b5210be70f2677cc60b3820db31a337575c778f2fac0f060aa6bc9
Contents?: true
Size: 607 Bytes
Versions: 25
Compression:
Stored size: 607 Bytes
Contents
--- openssl/crypto/rand/randfile.c.old 2015-07-10 02:44:30.171640289 +0200 +++ openssl/crypto/rand/randfile.c 2015-07-10 02:54:20.081824839 +0200 @@ -57,7 +57,7 @@ */ /* We need to define this to get macros like S_IFBLK and S_IFCHR */ -#if !defined(OPENSSL_SYS_VXWORKS) +#if !defined(OPENSSL_SYS_VXWORKS) && !defined(__sun) # define _XOPEN_SOURCE 500 #endif @@ -82,6 +82,12 @@ # include <fcntl.h> #endif +#if defined(__sun) +# if !defined(S_IFBLK) || !defined(S_IFCHR) +# error "We need S_IFBLK and S_IFCHR" +# endif +#endif + #ifdef _WIN32 # define stat _stat # define chmod _chmod
Version data entries
25 entries across 25 versions & 1 rubygems