Use OPENSSL_SYS_WIN32 instead of _WIN32

This commit is contained in:
Dr. Stephen Henson 2009-03-31 21:45:29 +00:00
parent 783a73c47f
commit 49cb959494

View 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);