summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/getopt.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-01-31 23:09:58 +0000
committerKarl Berry <karl@freefriends.org>2010-01-31 23:09:58 +0000
commit4e40a2f3c1a546cc9158f699c0c61833a62870b0 (patch)
tree984195c62d6a8c959d34046451100bb9fd4eed50 /Build/source/texk/kpathsea/getopt.c
parent9aee0b49ef9fb140f764752ce7b7b3a911061178 (diff)
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
Diffstat (limited to 'Build/source/texk/kpathsea/getopt.c')
-rw-r--r--Build/source/texk/kpathsea/getopt.c12
1 files changed, 2 insertions, 10 deletions
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 <config.h>
#endif
-#if !defined (__STDC__) || !__STDC__
-/* This is a separate conditional since some stdc systems
- reject `defined (const)'. */
-#ifndef const
-#define const
-#endif
-#endif
-
#include <stdio.h>
/* Comment out all this code if we are using the GNU C Library, and are not