diff options
author | Rose <83477269+AtariDreams@users.noreply.github.com> | 2023-01-09 09:18:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-09 15:18:30 +0100 |
commit | 013aef1275899bcee0b394402673a949c33c72db (patch) | |
tree | 66ab332e791f42e7a838f3d817af374b2991d4ba /contrib | |
parent | 0348e24bab24cc46642d29e3ceab64df22553298 (diff) | |
download | libarchive-013aef1275899bcee0b394402673a949c33c72db.tar.gz |
Update autotools and fix warnings (#1815)
We do not need to check TIME_WITH_SYS_TIME anymore. We can check
HAVE_SYS_TIME_H and not bother checking for C99.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/android/config/android.h | 2 | ||||
-rw-r--r-- | contrib/android/config/linux_host.h | 2 | ||||
-rw-r--r-- | contrib/android/config/windows_host.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/android/config/android.h b/contrib/android/config/android.h index 8e183124..0ccb20c4 100644 --- a/contrib/android/config/android.h +++ b/contrib/android/config/android.h @@ -180,5 +180,5 @@ #define SIZEOF_WCHAR_T 4 #define STDC_HEADERS 1 #define STRERROR_R_CHAR_P 1 -#define TIME_WITH_SYS_TIME 1 +#define HAVE_SYS_TIME_H 1 #endif diff --git a/contrib/android/config/linux_host.h b/contrib/android/config/linux_host.h index 709b657c..371c6cc4 100644 --- a/contrib/android/config/linux_host.h +++ b/contrib/android/config/linux_host.h @@ -183,7 +183,7 @@ #define SIZEOF_WCHAR_T 4 #define STDC_HEADERS 1 #define STRERROR_R_CHAR_P 1 -#define TIME_WITH_SYS_TIME 1 +#define HAVE_SYS_TIME_H 1 #define _GNU_SOURCE 1 #endif diff --git a/contrib/android/config/windows_host.h b/contrib/android/config/windows_host.h index d82ca810..712b7491 100644 --- a/contrib/android/config/windows_host.h +++ b/contrib/android/config/windows_host.h @@ -952,7 +952,7 @@ /* #undef STRERROR_R_CHAR_P */ /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ -#define TIME_WITH_SYS_TIME 1 +#define HAVE_SYS_TIME_H 1 |