Files
kbuild/kbuild-glob.patch

27 lines
809 B
Diff
Raw Normal View History

---
src/kmk/dir.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: kbuild-0.1.9998svn2784/src/kmk/dir.c
===================================================================
--- kbuild-0.1.9998svn2784.orig/src/kmk/dir.c
+++ kbuild-0.1.9998svn2784/src/kmk/dir.c
@@ -1310,7 +1310,7 @@ print_dir_data_base (void)
/* Hooks for globbing. */
-#if defined(KMK) && !defined(__OS2__)
+#if defined(KMK) && !defined(__GLIBC__)
# include "glob/glob.h"
#else
#include <glob.h>
@@ -1449,7 +1449,7 @@ dir_setup_glob (glob_t *gl)
#ifdef __EMX__ /* The FreeBSD implementation actually uses gl_lstat!! */
gl->gl_lstat = local_stat;
#endif
-#if defined(KMK) && !defined(__OS2__)
+#if defined(KMK) && !defined(__GLIBC__)
gl->gl_exists = file_exists_p;
gl->gl_isdir = dir_exists_p;
#endif