* gdbarch.sh (software_single_step): Replace REGCACHE argument by
[deliverable/binutils-gdb.git] / gdb / gdb_stat.h
index e0c8f88a6fd78dc041564664d28a2811b8456701..ff081b1cece2e8f8c14f7a8e5de9b99e7005a612 100644 (file)
@@ -1,5 +1,5 @@
 /* Portable <sys/stat.h>
-   Copyright 1995 Free Software Foundation, Inc.
+   Copyright (C) 1995, 2007 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -15,8 +15,8 @@
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330,
-   Boston, MA 02111-1307, USA.  */
+   Foundation, Inc., 51 Franklin Street, Fifth Floor,
+   Boston, MA 02110-1301, USA.  */
 
 #if !defined(GDB_STAT_H)
 #define 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) */
This page took 0.035781 seconds and 4 git commands to generate.