From 4e40a2f3c1a546cc9158f699c0c61833a62870b0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 31 Jan 2010 23:09:58 +0000 Subject: do not ever define const away, since it causes trouble when const is supported but __STDC__ not defined; or otherwise on Windows git-svn-id: svn://tug.org/texlive/trunk@16885 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/getopt.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'Build/source/texk/kpathsea/getopt.c') diff --git a/Build/source/texk/kpathsea/getopt.c b/Build/source/texk/kpathsea/getopt.c index 058ca27cd70..5080a35b233 100644 --- a/Build/source/texk/kpathsea/getopt.c +++ b/Build/source/texk/kpathsea/getopt.c @@ -1,7 +1,7 @@ /* Getopt for GNU. - Copyright 2008, 2009 Karl Berry. - Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 2000 + Copyright 2008, 2009, 2010 Karl Berry. + Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 2000, 2010 Free Software Foundation, Inc. The original version of this file was part of the GNU C Library. @@ -33,14 +33,6 @@ #include #endif -#if !defined (__STDC__) || !__STDC__ -/* This is a separate conditional since some stdc systems - reject `defined (const)'. */ -#ifndef const -#define const -#endif -#endif - #include /* Comment out all this code if we are using the GNU C Library, and are not -- cgit v1.2.3