changeset 94010:eb51ce38e226

(__MINGW_NOTHROW): If not defined, define to nothing. Add copyright notice.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 11 Apr 2008 19:23:32 +0000
parents 1ef181f26c7c
children 077813a3e645
files nt/inc/sys/stat.h
diffstat 1 files changed, 25 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/nt/inc/sys/stat.h	Fri Apr 11 17:13:30 2008 +0000
+++ b/nt/inc/sys/stat.h	Fri Apr 11 19:23:32 2008 +0000
@@ -1,14 +1,34 @@
-/*
- * sys/stat.h supplied with MSVCRT uses too narrow data types for
- * inode and user/group id, so we replace them with our own.
- */
+/* sys/stat.h supplied with MSVCRT uses too narrow data types for
+   inode and user/group id, so we replace them with our own.
+
+   Copyright (C) 2008  Free Software Foundation, Inc.
+
+This file is part of GNU Emacs.
+
+GNU Emacs is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3, or (at your option)
+any later version.
+
+GNU Emacs is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Emacs; see the file COPYING.  If not, write to
+the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA.  */
 
 #ifndef INC_SYS_STAT_H_
 #define INC_SYS_STAT_H_
 
 #ifdef __MINGW32__
 # include <_mingw.h>
-#else
+#endif
+
+/* Only MinGW 3.13 and later has __MINGW_NOTHROW.  */
+#ifndef __MINGW_NOTHROW
 # define __MINGW_NOTHROW
 #endif