diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-24 09:37:07 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-24 09:37:07 +0000 |
commit | d8ee324e03e46ef3361a8ade3062034bc45795af (patch) | |
tree | 16db0d512972def0afb897cf289ac8ff65a6b389 /Build/source/texk/kpathsea/debug.h | |
parent | 151106e752f349fac3ef91258cdf305c1cd6dc79 (diff) |
kpathsea 6.2.0dev
git-svn-id: svn://tug.org/texlive/trunk@30892 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/debug.h')
-rw-r--r-- | Build/source/texk/kpathsea/debug.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/debug.h b/Build/source/texk/kpathsea/debug.h index bb0ab7fbc1c..38c54e4b270 100644 --- a/Build/source/texk/kpathsea/debug.h +++ b/Build/source/texk/kpathsea/debug.h @@ -89,6 +89,10 @@ #define DEBUGF4(str, e1, e2, e3, e4) \ DEBUGF_START (); fprintf (stderr, str, e1, e2, e3, e4); DEBUGF_END () +#ifdef __cplusplus +extern "C" { +#endif + #undef fopen #define fopen kpse_fopen_trace extern KPSEDLL FILE *fopen (const char *filename, const char *mode); @@ -96,6 +100,10 @@ extern KPSEDLL FILE *fopen (const char *filename, const char *mode); #define fclose kpse_fclose_trace extern KPSEDLL int fclose (FILE *); +#ifdef __cplusplus +} +#endif + #endif /* not NO_DEBUG */ #endif /* not KPATHSEA_DEBUG_H */ |