summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/getopt.h
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.h
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.h')
-rw-r--r--Build/source/texk/kpathsea/getopt.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/Build/source/texk/kpathsea/getopt.h b/Build/source/texk/kpathsea/getopt.h
index f91650263c8..932cf5d941a 100644
--- a/Build/source/texk/kpathsea/getopt.h
+++ b/Build/source/texk/kpathsea/getopt.h
@@ -1,6 +1,6 @@
/* Declarations for getopt.
- Copyright 2008 Karl Berry.
+ Copyright 2008, 2010 Karl Berry.
Copyright 1989,90,91,92,93,94,96,97,2000,05 Free Software Foundation, Inc.
The original version of this file was part of the GNU C Library.
@@ -24,14 +24,6 @@
#ifndef _GETOPT_H
#define _GETOPT_H 1
-#if !defined (__STDC__) || !__STDC__
-/* This is a separate conditional since some stdc systems
- reject `defined (const)'. */
-#ifndef const
-#define const
-#endif
-#endif
-
#if defined (KPSE_DLL) && (defined (WIN32) || defined (__CYGWIN__))
#ifdef MAKE_KPSE_DLL
#define KPSEDLL __declspec(dllexport)