aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-11-09 11:11:09 +0000
committerJohn Gilmore <gnu@cygnus>1991-11-09 11:11:09 +0000
commit00a76e06c981b78540154b11d1ae754ed4fb8436 (patch)
tree2ed817ac6597aa8c0e3a9559e08d3acaf7302402 /bfd
parent1d82d3dcad51517b89c445ce0478a5665618d74e (diff)
downloadgdb-00a76e06c981b78540154b11d1ae754ed4fb8436.zip
gdb-00a76e06c981b78540154b11d1ae754ed4fb8436.tar.gz
gdb-00a76e06c981b78540154b11d1ae754ed4fb8436.tar.bz2
Define FASCIST_FDOPEN.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/hosts/rs6000.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/hosts/rs6000.h b/bfd/hosts/rs6000.h
index 4fb70e8..7cf72b1 100644
--- a/bfd/hosts/rs6000.h
+++ b/bfd/hosts/rs6000.h
@@ -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