summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/truncate.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/truncate.h')
-rw-r--r--Build/source/texk/kpathsea/truncate.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/truncate.h b/Build/source/texk/kpathsea/truncate.h
index 893cc728f45..824daa16ec3 100644
--- a/Build/source/texk/kpathsea/truncate.h
+++ b/Build/source/texk/kpathsea/truncate.h
@@ -1,6 +1,6 @@
/* truncate.h: truncate too-long components in a filename.
- Copyright 1993, 2008 Karl Berry.
+ Copyright 1993, 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
@@ -21,6 +21,8 @@
#include <kpathsea/c-proto.h>
#include <kpathsea/types.h>
+#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
+
/* Truncate any component in NAME longer than the system NAME_MAX, and
return the result as a malloced string. If none, return a copy of
NAME. */
@@ -30,4 +32,6 @@ extern string kpathsea_truncate_filename (kpathsea kpse, const_string name);
extern string kpse_truncate_filename (const_string name);
#endif
+#endif /* MAKE_KPSE_DLL */
+
#endif /* not KPATHSEA_TRUNCATE_H */