X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fgdb_stat.h;h=f3577f2f9940b529e4f8f61a1fddcfbb85ee959e;hb=39f770628a4eaf018fec8d55684bf2ec16ada9cc;hp=e0c8f88a6fd78dc041564664d28a2811b8456701;hpb=c5aa993b1f4add48fbdc6cc3117059f616e49875;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gdb_stat.h b/gdb/gdb_stat.h index e0c8f88a6f..f3577f2f99 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) */