Define FASCIST_FDOPEN.
This commit is contained in:
parent
1d82d3dcad
commit
00a76e06c9
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,9 @@
|
|||
#include <sys/file.h>
|
||||
#include <stdlib.h> /* for malloc() */
|
||||
|
||||
/* fdopen() won't let you open read-only files for update */
|
||||
#define FASCIST_FDOPEN
|
||||
|
||||
#ifndef O_ACCMODE
|
||||
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue