summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRose <83477269+AtariDreams@users.noreply.github.com>2023-01-09 09:18:30 -0500
committerGitHub <noreply@github.com>2023-01-09 15:18:30 +0100
commit013aef1275899bcee0b394402673a949c33c72db (patch)
tree66ab332e791f42e7a838f3d817af374b2991d4ba /contrib
parent0348e24bab24cc46642d29e3ceab64df22553298 (diff)
downloadlibarchive-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.h2
-rw-r--r--contrib/android/config/linux_host.h2
-rw-r--r--contrib/android/config/windows_host.h2
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