aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2008-04-11 19:24:04 +0000
committerEli Zaretskii2008-04-11 19:24:04 +0000
commit87c24bb7401ddbcfdc177015e252107f47d13c80 (patch)
tree2879a3cbb32815a105a4f80c68385c172e10d0e0
parent6b6a6f9e681b3ab4ebcfdf5ec797b5ac04665120 (diff)
downloademacs-87c24bb7401ddbcfdc177015e252107f47d13c80.tar.gz
emacs-87c24bb7401ddbcfdc177015e252107f47d13c80.zip
(__MINGW_NOTHROW): If not defined, define to nothing.
Add copyright notice.
-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 @@
12008-04-11 Eli Zaretskii <eliz@gnu.org>
2
3 * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing.
4 Add copyright notice.
5
12008-04-10 Jason Rumney <jasonr@gnu.org> 62008-04-10 Jason Rumney <jasonr@gnu.org>
2 7
3 * emacsclient.rc: New file. 8 * 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 @@
1/* 1/* sys/stat.h supplied with MSVCRT uses too narrow data types for
2 * sys/stat.h supplied with MSVCRT uses too narrow data types for 2 inode and user/group id, so we replace them with our own.
3 * inode and user/group id, so we replace them with our own. 3
4 */ 4 Copyright (C) 2008 Free Software Foundation, Inc.
5
6This file is part of GNU Emacs.
7
8GNU Emacs is free software; you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation; either version 3, or (at your option)
11any later version.
12
13GNU Emacs is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
19along with GNU Emacs; see the file COPYING. If not, write to
20the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21Boston, MA 02110-1301, USA. */
5 22
6#ifndef INC_SYS_STAT_H_ 23#ifndef INC_SYS_STAT_H_
7#define INC_SYS_STAT_H_ 24#define INC_SYS_STAT_H_
8 25
9#ifdef __MINGW32__ 26#ifdef __MINGW32__
10# include <_mingw.h> 27# include <_mingw.h>
11#else 28#endif
29
30/* Only MinGW 3.13 and later has __MINGW_NOTHROW. */
31#ifndef __MINGW_NOTHROW
12# define __MINGW_NOTHROW 32# define __MINGW_NOTHROW
13#endif 33#endif
14 34