summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/c-std.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-04-09 16:13:07 +0000
committerKarl Berry <karl@freefriends.org>2012-04-09 16:13:07 +0000
commit50f4aaa330b7549bc663dfc6701ddbc497782c47 (patch)
treed2c3b34f4a26b3155fac42ff6e24c59e72d15b09 /Build/source/texk/kpathsea/c-std.h
parent4f6fa857ec06873b5eaa5443a19e7b84b97b81c4 (diff)
do not declare getopt under C++ (http://bugs.debian.org/667392); do not declare popen/pclose at all (http://bugs.debian.org/64524)
git-svn-id: svn://tug.org/texlive/trunk@25879 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/c-std.h')
-rw-r--r--Build/source/texk/kpathsea/c-std.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/Build/source/texk/kpathsea/c-std.h b/Build/source/texk/kpathsea/c-std.h
index 6d0169d16ae..b4d22a7743e 100644
--- a/Build/source/texk/kpathsea/c-std.h
+++ b/Build/source/texk/kpathsea/c-std.h
@@ -1,6 +1,6 @@
/* c-std.h: the first header files.
- Copyright 1992, 1993, 1994, 1995, 1996, 1997, 2008 Karl Berry.
+ Copyright 1992, 1993, 1994, 1995, 1996, 1997, 2008, 2012 Karl Berry.
Copyright 1999, 2005 Olaf Weber.
This library is free software; you can redistribute it and/or
@@ -86,13 +86,6 @@ extern ALLOC_RETURN_TYPE *calloc (), *malloc (), *realloc ();
#ifdef VMS
#include <unixlib.h>
#include <unixio.h>
-#else
-#if !defined (WIN32) && !defined (__cplusplus)
-/* `popen' and `pclose' are part of POSIX.2, not POSIX.1. So
- STDC_HEADERS isn't enough. */
-extern FILE *popen ();
-extern int pclose ();
-#endif /* not WIN32 && not __cplusplus */
#endif /* not VMS */
#endif /* not KPATHSEA_C_STD_H */