Use OPENSSL_SYS_WIN32 instead of _WIN32
authorDr. Stephen Henson <steve@openssl.org>
Tue, 31 Mar 2009 21:45:29 +0000 (21:45 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 31 Mar 2009 21:45:29 +0000 (21:45 +0000)
crypto/des/enc_read.c

index 372ef667b83d92860dad45eda9a907714ec01c8f..c1f46810d245e353005fe582de55289a82c30223 100644 (file)
@@ -150,7 +150,7 @@ int DES_enc_read(int fd, void *buf, int len, DES_key_schedule *sched,
        /* first - get the length */
        while (net_num < HDRSIZE) 
                {
-#ifndef _WIN32
+#ifndef OPENSSL_SYS_WIN32
                i=read(fd,(void *)&(net[net_num]),HDRSIZE-net_num);
 #else
                i=_read(fd,(void *)&(net[net_num]),HDRSIZE-net_num);