diff options
Diffstat (limited to 'Build/source/texk/kpathsea/xopendir.c')
-rw-r--r-- | Build/source/texk/kpathsea/xopendir.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Build/source/texk/kpathsea/xopendir.c b/Build/source/texk/kpathsea/xopendir.c index e948eb90131..adf81d67b87 100644 --- a/Build/source/texk/kpathsea/xopendir.c +++ b/Build/source/texk/kpathsea/xopendir.c @@ -1,6 +1,6 @@ /* xopendir.c: opendir and closedir with error checking. - Copyright 1992, 1993, 1994, 1995, 1996, 2008 Karl Berry. + Copyright 1992, 1993, 1994, 1995, 1996, 2008, 2010 Karl Berry. Copyright 2005 Olaf Weber. This library is free software; you can redistribute it and/or @@ -22,7 +22,7 @@ #if !defined(WIN32) || defined(__MINGW32__) DIR * -xopendir (string dirname) +xopendir (const_string dirname) { DIR *d = opendir(dirname); @@ -31,7 +31,6 @@ xopendir (string dirname) return d; } -#endif /* not WIN32 */ void xclosedir (DIR *d) @@ -45,4 +44,4 @@ xclosedir (DIR *d) FATAL("closedir failed"); #endif } - +#endif /* not WIN32 || __MINGW32__ */ |