From 87c24bb7401ddbcfdc177015e252107f47d13c80 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 11 Apr 2008 19:24:04 +0000 Subject: [PATCH] (__MINGW_NOTHROW): If not defined, define to nothing. Add copyright notice. --- nt/ChangeLog | 5 +++++ nt/inc/sys/stat.h | 30 +++++++++++++++++++++++++----- 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 + + * inc/sys/stat.h (__MINGW_NOTHROW): If not defined, define to nothing. + Add copyright notice. + 2008-04-10 Jason Rumney * 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 -- 2.39.5