mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
Define FASCIST_FDOPEN.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user