Minor cygwin update.
authorAndy Polyakov <appro@openssl.org>
Mon, 27 Dec 2004 21:27:46 +0000 (21:27 +0000)
committerAndy Polyakov <appro@openssl.org>
Mon, 27 Dec 2004 21:27:46 +0000 (21:27 +0000)
PR: 949

crypto/bio/bss_file.c

index 667c2eb..764b7f8 100644 (file)
@@ -274,7 +274,7 @@ static long MS_CALLBACK file_ctrl(BIO *b, int cmd, long num, void *ptr)
                        ret=0;
                        break;
                        }
-#if defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_OS2)
+#if defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_OS2) || defined(OPENSSL_SYS_WIN32_CYGWIN)
                if (!(num & BIO_FP_TEXT))
                        strcat(p,"b");
                else