summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2008-04-11 19:24:04 +0000
committerEli Zaretskii <eliz@gnu.org>2008-04-11 19:24:04 +0000
commit87c24bb7401ddbcfdc177015e252107f47d13c80 (patch)
tree2879a3cbb32815a105a4f80c68385c172e10d0e0 /nt
parent6b6a6f9e681b3ab4ebcfdf5ec797b5ac04665120 (diff)
downloademacs-87c24bb7401ddbcfdc177015e252107f47d13c80.tar.gz
(__MINGW_NOTHROW): If not defined, define to nothing.
Add copyright notice.
Diffstat (limited to 'nt')
-rw-r--r--nt/ChangeLog5
-rw-r--r--nt/inc/sys/stat.h30
2 files changed, 30 insertions, 5 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index e5be82ab6e7..9252520cd3a 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-11 Eli Zaretskii <eliz@gnu.org>
+
+ * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
+ Add copyright notice.
+
2008-04-10 Jason Rumney <jasonr@gnu.org>
* emacsclient.rc: New file.
diff --git a/nt/inc/sys/stat.h b/nt/inc/sys/stat.h
index 89b2bfe3182..c9bb3ca5f24 100644
--- a/nt/inc/sys/stat.h
+++ b/nt/inc/sys/stat.h
@@ -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