mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
remove unused futimes check
This commit is contained in:
parent
0b3d3de9bf
commit
3fd2da951e
4 changed files with 0 additions and 15 deletions
|
@ -83,7 +83,6 @@ check_cxx_symbol_exists(flock sys/file.h HAVE_FLOCK)
|
|||
# futimens is new in OS X 10.13 but is a weak symbol.
|
||||
# Don't assume it exists just because we can link - it may be null.
|
||||
check_cxx_symbol_exists(futimens sys/stat.h HAVE_FUTIMENS)
|
||||
check_cxx_symbol_exists(futimes sys/time.h HAVE_FUTIMES)
|
||||
check_cxx_symbol_exists(getifaddrs ifaddrs.h HAVE_GETIFADDRS)
|
||||
check_cxx_symbol_exists(getpwent pwd.h HAVE_GETPWENT)
|
||||
check_cxx_symbol_exists(getrusage sys/resource.h HAVE_GETRUSAGE)
|
||||
|
|
|
@ -25,9 +25,6 @@
|
|||
/* Define to 1 if you have the `futimens' function. */
|
||||
#cmakedefine HAVE_FUTIMENS 1
|
||||
|
||||
/* Define to 1 if you have the `futimes' function. */
|
||||
#cmakedefine HAVE_FUTIMES 1
|
||||
|
||||
/* Define to 1 if you have the `getifaddrs' function. */
|
||||
#cmakedefine HAVE_GETIFADDRS 1
|
||||
|
||||
|
|
|
@ -182,13 +182,6 @@ size_t wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_FUTIMES
|
||||
int futimes(int fd, const struct timeval *times) {
|
||||
errno = ENOSYS;
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if HAVE_GETTEXT
|
||||
char *fish_gettext(const char *msgid) { return gettext(msgid); }
|
||||
|
||||
|
|
|
@ -122,10 +122,6 @@ wchar_t *wcsndup(const wchar_t *in, size_t c);
|
|||
size_t wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_FUTIMES
|
||||
int futimes(int fd, const struct timeval *times);
|
||||
#endif
|
||||
|
||||
// autoconf may fail to detect gettext (645), so don't define a function call gettext or we'll get
|
||||
// build errors.
|
||||
|
||||
|
|
Loading…
Reference in a new issue