summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/xopendir.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/xopendir.h')
-rw-r--r--Build/source/texk/kpathsea/xopendir.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/xopendir.h b/Build/source/texk/kpathsea/xopendir.h
index 30988d90951..aceebffaa40 100644
--- a/Build/source/texk/kpathsea/xopendir.h
+++ b/Build/source/texk/kpathsea/xopendir.h
@@ -1,6 +1,6 @@
/* xopendir.h: declare checked directory operations.
- Copyright 1994, 1996, 2008 Karl Berry.
+ Copyright 1994, 1996, 2008, 2010 Karl Berry.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -22,8 +22,12 @@
#include <kpathsea/c-proto.h>
#include <kpathsea/types.h>
+#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
+
/* Like opendir and closedir, but abort on error. */
extern DIR *xopendir (string dirname);
extern void xclosedir (DIR *);
+#endif /* MAKE_KPSE_DLL */
+
#endif /* not (KPATHSEA_XOPENDIR_H or WIN32) */