summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/mingw32.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/mingw32.h')
-rw-r--r--Build/source/texk/kpathsea/mingw32.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/mingw32.h b/Build/source/texk/kpathsea/mingw32.h
index c9853dd1d76..358ae604c5b 100644
--- a/Build/source/texk/kpathsea/mingw32.h
+++ b/Build/source/texk/kpathsea/mingw32.h
@@ -49,6 +49,10 @@
#define MAX_PIPES 128
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
extern void init_user_info (void);
@@ -74,4 +78,8 @@ win32_popen (const char *command, const char *fmode)
}
#define popen(cmd, mode) win32_popen(cmd, mode)
+#ifdef __cplusplus
+}
+#endif
+
#endif