summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/xstat.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/xstat.h')
-rw-r--r--Build/source/texk/kpathsea/xstat.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/xstat.h b/Build/source/texk/kpathsea/xstat.h
index c256687b4ba..37eb65f91fe 100644
--- a/Build/source/texk/kpathsea/xstat.h
+++ b/Build/source/texk/kpathsea/xstat.h
@@ -1,6 +1,6 @@
/* xstat.h: stat with error checking.
- Copyright 1992, 1993, 1994, 2008 Karl Berry.
+ Copyright 1992, 1993, 1994, 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
@@ -28,6 +28,8 @@
#define SAME_FILE_P(s1, s2) \
((s1).st_ino == (s2).st_ino && (s1).st_dev == (s2).st_dev)
+#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
+
/* Does stat(2) on PATH, and aborts if the stat fails. */
extern struct stat xstat (const_string path);
@@ -38,4 +40,6 @@ extern struct stat xlstat (const_string path);
#define xlstat xstat
#endif
+#endif /* MAKE_KPSE_DLL */
+
#endif /* not KPATHSEA_XSTAT_H */