diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-17 11:02:17 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-17 11:02:17 +0000 |
commit | cc9e2cf485fdc6d0689f5943154c593d9f3696e6 (patch) | |
tree | cf6d7f26a372ab41a291c58597e0da38204c79b2 /Build/source/texk/kpathsea/c-std.h | |
parent | f02c90b67527cfb210815f40184019554d107cbd (diff) |
make kpathsea C++ safe, adapt xdv2pdf to new kpathsea API
git-svn-id: svn://tug.org/texlive/trunk@12405 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/c-std.h')
-rw-r--r-- | Build/source/texk/kpathsea/c-std.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/c-std.h b/Build/source/texk/kpathsea/c-std.h index 980c115901f..40e0ce78bd0 100644 --- a/Build/source/texk/kpathsea/c-std.h +++ b/Build/source/texk/kpathsea/c-std.h @@ -87,12 +87,12 @@ extern ALLOC_RETURN_TYPE *calloc (), *malloc (), *realloc (); #include <unixlib.h> #include <unixio.h> #else -#ifndef WIN32 +#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 */ +#endif /* not WIN32 && not __cplusplus */ #endif /* not VMS */ #endif /* not KPATHSEA_C_STD_H */ |