mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
* Use platform headers to source various libc prototypes instead of unsafe
static ones (from vapier)
This commit is contained in:
parent
0167152647
commit
f455a27edd
1 changed files with 6 additions and 6 deletions
|
@ -155,9 +155,9 @@ extern Nlist *kwdefined;
|
||||||
extern Includelist includelist[NINCLUDE];
|
extern Includelist includelist[NINCLUDE];
|
||||||
extern char wd[];
|
extern char wd[];
|
||||||
|
|
||||||
extern int creat(char *, int);
|
#ifndef _WIN32
|
||||||
extern int open(char *, int);
|
#include <unistd.h>
|
||||||
extern int close(int);
|
#else
|
||||||
extern int dup2(int, int);
|
#include <io.h>
|
||||||
extern int write(int, char *, size_t);
|
#endif
|
||||||
extern int read(int, char *, size_t);
|
#include <fcntl.h>
|
||||||
|
|
Loading…
Reference in a new issue