From bcce1233902dc7a94623b3a90cd7920c44f22474 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Thu, 12 Mar 2009 15:13:11 +0100 Subject: Import of patch-2.2.tar.gz --- getopt1.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'getopt1.c') diff --git a/getopt1.c b/getopt1.c index a32615c..9d394e6 100644 --- a/getopt1.c +++ b/getopt1.c @@ -1,5 +1,5 @@ /* getopt_long and getopt_long_only entry points for GNU getopt. - Copyright (C) 1987, 88, 89, 90, 91, 92, 1993 + Copyright (C) 1987, 88, 89, 90, 91, 92, 1993, 1994 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it @@ -14,17 +14,22 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif #include "getopt.h" -#if !__STDC__ && !defined(const) && IN_GCC +#if !defined (__STDC__) || !__STDC__ +/* This is a separate conditional since some stdc systems + reject `defined (const)'. */ +#ifndef const #define const #endif +#endif #include -- cgit v1.2.1