fix a couple of thinkos

This commit is contained in:
Bill Currie 2000-09-28 20:07:44 +00:00
parent c8e95a85fd
commit e7a25fb76a

View file

@ -54,10 +54,7 @@
#include <limits.h>
#ifdef WIN32
#ifdef __BORLANDC__
# define
# define
#else
#ifndef __BORLANDC__
# define setmode _setmode
# define O_BINARY _O_BINARY
#endif
@ -182,8 +179,6 @@ Qdopen(int fd, const char *mode)
#ifdef WIN32
if (file->file)
setmode(_fileno(file->file),O_BINARY);
else
setmode(_fileno(file->gzfile),O_BINARY);
#endif
return file;
}