mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 04:01:17 +00:00
fix a couple of thinkos
This commit is contained in:
parent
c8e95a85fd
commit
e7a25fb76a
1 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue