* glob.c: Eliminate __INSIDE_CYGWIN__ preprocessor conditionals

throughout.
This commit is contained in:
Corinna Vinschen 2003-03-19 21:38:25 +00:00
parent b1897d27a8
commit 036ac6b3a2
2 changed files with 5 additions and 12 deletions

View File

@ -1,3 +1,8 @@
2003-03-19 Corinna Vinschen <corinna@vinschen.de>
* glob.c: Eliminate __INSIDE_CYGWIN__ preprocessor conditionals
throughout.
2003-03-19 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Fix

View File

@ -97,11 +97,7 @@ __weak_alias(__globfree13,___globfree13);
#ifdef __LIBC12_SOURCE__
#define STAT stat12
#else
#if defined (__INSIDE_CYGWIN__)
#define STAT __stat64
#else
#define STAT stat
#endif
#endif
#define DOLLAR '$'
@ -847,11 +843,7 @@ g_lstat(fn, sb, pglob)
stat32_to_STAT (&lsb, sb);
return ret;
}
#ifdef __INSIDE_CYGWIN__
return(lstat64(buf, sb));
#else
return(lstat(buf, sb));
#endif
}
static int
@ -873,11 +865,7 @@ g_stat(fn, sb, pglob)
stat32_to_STAT (&lsb, sb);
return ret;
}
#ifdef __INSIDE_CYGWIN__
return(stat64(buf, sb));
#else
return(stat(buf, sb));
#endif
}
static Char *