From dcf9209ae324ed4f26a1cc6a0d6e8aa9782aedb5 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 28 Jun 1999 04:05:53 +0000 Subject: [PATCH] *** empty log message *** --- libraries/liblber/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblber/io.c b/libraries/liblber/io.c index a29cdf54d5..73c8c57ad5 100644 --- a/libraries/liblber/io.c +++ b/libraries/liblber/io.c @@ -236,7 +236,7 @@ ber_flush( Sockbuf *sb, BerElement *ber, int freeit ) ber->ber_rwptr, towrite ); } -#if !defined(MACOS) && !defined(DOS) +#if HAVE_WRITE || (!defined(MACOS) && !(defined(DOS) && !defined(_WIN32))) if ( sb->sb_options & (LBER_TO_FILE | LBER_TO_FILE_ONLY) ) { rc = write( sb->sb_fd, ber->ber_rwptr, towrite ); if ( sb->sb_options & LBER_TO_FILE_ONLY ) { -- 2.39.5