diff options
author | J.T. Conklin <jtc@redback.com> | 2001-04-03 01:51:26 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@redback.com> | 2001-04-03 01:51:26 +0000 |
commit | 3c61a614721063181c181807fb1713f3f7232b1d (patch) | |
tree | bf787e9788e4fdcc4510b23d0118bef9ca8a13ad /gdb/gdb_stat.h | |
parent | 0ff72b4b846708567092a37377ab121d65688457 (diff) | |
download | gdb-3c61a614721063181c181807fb1713f3f7232b1d.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.h | 5 |
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) */ |