summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/xopendir.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-15 08:19:27 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-15 08:19:27 +0000
commit5ad5b475cc0211e3d48232660a9f1548ac2aadb5 (patch)
tree8828e1ca68606e563aede87ea2a699fcf60c8543 /Build/source/texk/kpathsea/xopendir.h
parentb9a895c295af055dfbc9599c2a763ed0d443d109 (diff)
minor cleanup
git-svn-id: svn://tug.org/texlive/trunk@17034 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/xopendir.h')
-rw-r--r--Build/source/texk/kpathsea/xopendir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/xopendir.h b/Build/source/texk/kpathsea/xopendir.h
index aceebffaa40..b786d9a89ee 100644
--- a/Build/source/texk/kpathsea/xopendir.h
+++ b/Build/source/texk/kpathsea/xopendir.h
@@ -15,7 +15,7 @@
You should have received a copy of the GNU Lesser General Public License
along with this library; if not, see <http://www.gnu.org/licenses/>. */
-#if !defined (KPATHSEA_XOPENDIR_H) && !defined (WIN32)
+#if !defined (KPATHSEA_XOPENDIR_H) && (!defined (WIN32) || defined(__MINGW32__))
#define KPATHSEA_XOPENDIR_H
#include <kpathsea/c-dir.h>
@@ -25,7 +25,7 @@
#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
/* Like opendir and closedir, but abort on error. */
-extern DIR *xopendir (string dirname);
+extern DIR *xopendir (const_string dirname);
extern void xclosedir (DIR *);
#endif /* MAKE_KPSE_DLL */