mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
Ports/SQLite: Remove HAVE_UTIME compilation flag
This commit is contained in:
parent
3c390d65e4
commit
3cd8d7e968
2 changed files with 0 additions and 14 deletions
|
@ -4,4 +4,3 @@ useconfigure="true"
|
||||||
version="3350300"
|
version="3350300"
|
||||||
files="https://www.sqlite.org/2021/sqlite-autoconf-${version}.tar.gz sqlite-autoconf-${version}.tar.gz"
|
files="https://www.sqlite.org/2021/sqlite-autoconf-${version}.tar.gz sqlite-autoconf-${version}.tar.gz"
|
||||||
workdir="sqlite-autoconf-${version}"
|
workdir="sqlite-autoconf-${version}"
|
||||||
configopts="CFLAGS=-DHAVE_UTIME"
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
--- sqlite-autoconf-3350300/shell.c 2021-03-26 15:24:58.000000000 +0100
|
|
||||||
+++ sqlite-autoconf-port/shell.c 2021-03-27 12:05:40.289547647 +0100
|
|
||||||
@@ -2554,6 +2554,10 @@
|
|
||||||
if( utimensat(AT_FDCWD, zFile, times, AT_SYMLINK_NOFOLLOW) ){
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
+#elif defined(HAVE_UTIME)
|
|
||||||
+ int rc = utime(zFile, NULL);
|
|
||||||
+ if (rc < 0)
|
|
||||||
+ return 1;
|
|
||||||
#else
|
|
||||||
/* Legacy unix */
|
|
||||||
struct timeval times[2];
|
|
Loading…
Add table
Add a link
Reference in a new issue