Hi

The file include/openssl/e_os2.h produces a compile error when compiling 
third party software using openssl

The line

# if defined(__CYGWIN32__) || defined(OPENSSL_SYSNAME_CYGWIN32)

should be rewritten as

# if defined(__CYGWIN__) || defined(OPENSSL_SYSNAME_CYGWIN32)

because __CYGWIN32__ is undefined under Cygwin64 while __CYGWIN__ is 
defined, both under Cygwin and Cygwin64


Rgds



/* For 32 bit environment, there seems to be the CygWin environment and 
then
    all the others that try to do the same thing Microsoft does... */
#if defined(OPENSSL_SYSNAME_UWIN)
# undef OPENSSL_SYS_UNIX
# define OPENSSL_SYS_WIN32_UWIN
#else
# if defined(__CYGWIN__) || defined(OPENSSL_SYSNAME_CYGWIN32)
#  undef OPENSSL_SYS_UNIX
#  define OPENSSL_SYS_WIN32_CYGWIN
# else
#  if defined(_WIN32) || defined(OPENSSL_SYSNAME_WIN32)
#   undef OPENSSL_SYS_UNIX
#   define OPENSSL_SYS_WIN32
#  endif
#  if defined(OPENSSL_SYSNAME_WINNT)
#   undef OPENSSL_SYS_UNIX
#   define OPENSSL_SYS_WINNT
#  endif
#  if defined(OPENSSL_SYSNAME_WINCE)
#   undef OPENSSL_SYS_UNIX
#   define OPENSSL_SYS_WINCE
#  endif
# endif
#endif


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to