Tentatively add support for UWIN, a Unix-like environment on top of Windows.

PR: 62
This commit is contained in:
Richard Levitte 2002-06-13 21:44:23 +00:00
parent d56f92ee78
commit c69d103956
2 changed files with 16 additions and 8 deletions

View File

@ -509,6 +509,9 @@ my %table=(
# and its library files in util/pl/*) # and its library files in util/pl/*)
"Mingw32", "gcc:-DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall:::::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::win32", "Mingw32", "gcc:-DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall:::::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::win32",
# UWIN
"UWIN", "cc:-DTERMIOS -DL_ENDIAN -O -Wall:::UWIN::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::win32",
# Cygwin # Cygwin
"Cygwin-pre1.3", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown):CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::win32", "Cygwin-pre1.3", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown):CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::win32",
"Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall:::CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:win32:cygwin-shared:::.dll", "Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall:::CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:win32:cygwin-shared:::.dll",

21
e_os2.h
View File

@ -90,17 +90,22 @@ extern "C" {
/* For 32 bit environment, there seems to be the CygWin environment and then /* 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... */ all the others that try to do the same thing Microsoft does... */
#if defined(__CYGWIN32__) || defined(OPENSSL_SYSNAME_CYGWIN32) #if defined(OPENSSL_SYSNAME_UWIN)
# undef OPENSSL_SYS_UNIX # undef OPENSSL_SYS_UNIX
# define OPENSSL_SYS_WIN32_CYGWIN # define OPENSSL_SYS_WIN32_UWIN
#else #else
# if defined(_WIN32) || defined(OPENSSL_SYSNAME_WIN32) # if defined(__CYGWIN32__) || defined(OPENSSL_SYSNAME_CYGWIN32)
# undef OPENSSL_SYS_UNIX # undef OPENSSL_SYS_UNIX
# define OPENSSL_SYS_WIN32 # define OPENSSL_SYS_WIN32_CYGWIN
# endif # else
# if defined(OPENSSL_SYSNAME_WINNT) # if defined(_WIN32) || defined(OPENSSL_SYSNAME_WIN32)
# undef OPENSSL_SYS_UNIX # undef OPENSSL_SYS_UNIX
# define OPENSSL_SYS_WINNT # define OPENSSL_SYS_WIN32
# endif
# if defined(OPENSSL_SYSNAME_WINNT)
# undef OPENSSL_SYS_UNIX
# define OPENSSL_SYS_WINNT
# endif
# endif # endif
#endif #endif