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

crypto/bio/bss_file.c

index 4fe38ae1986dad717f3d47fcf5310ee97c352ce4..8034ac93f9792632ca695b131f7ae0263ebcada6 100644 (file)
@@ -266,7 +266,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