summaryrefslogtreecommitdiff
path: root/gdb/gdb_stat.h
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>2001-04-03 01:51:26 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>2001-04-03 01:51:26 +0000
commitba79cc815485adef06c48f139c6e955f07ab2966 (patch)
treedfed6f6706c0bfed9b88f2556511e969d2b71bc0 /gdb/gdb_stat.h
parent44eaed12c554c670e20046db43a89aa6d83e8508 (diff)
downloadbinutils-gdb-ba79cc815485adef06c48f139c6e955f07ab2966.tar.gz
* remote-mips.c (S_IROTH): Moved definition from here.
* gdb_stat.h (S_IROTH): to here.
Diffstat (limited to 'gdb/gdb_stat.h')
-rw-r--r--gdb/gdb_stat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdb_stat.h b/gdb/gdb_stat.h
index e0c8f88a6fd..f3577f2f994 100644
--- a/gdb/gdb_stat.h
+++ b/gdb/gdb_stat.h
@@ -66,4 +66,9 @@
#define S_ISNWK(m) (((m) & S_IFMT) == S_IFNWK)
#endif
+/* Microsoft C's stat.h doesn't define all the POSIX file modes. */
+#ifndef S_IROTH
+#define S_IROTH S_IREAD
+#endif
+
#endif /* !defined(GDB_STAT_H) */