]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libuuid: fix build with gcc-14 on macOS
authorSergey Fedorov <vital.had@gmail.com>
Sun, 24 May 2026 10:57:50 +0000 (18:57 +0800)
committerSergey Fedorov <vital.had@gmail.com>
Sun, 24 May 2026 10:58:01 +0000 (18:58 +0800)
Fixes: https://github.com/util-linux/util-linux/issues/4368
libuuid/src/uuid_time.c

index 63179fd76c3519385ea3b741395898365c109559..d37570117d7207547db4c1fa8dad6d4b6fcfb878 100644 (file)
@@ -143,7 +143,7 @@ time_t __uuid_time(const uuid_t uu, struct timeval *ret_tv)
 }
 #if defined(__USE_TIME_BITS64) && defined(__GLIBC__)
 extern time_t uuid_time64(const uuid_t uu, struct timeval *ret_tv) __attribute__((weak, alias("__uuid_time")));
-#elif defined(__clang__) && defined(__APPLE__)
+#elif defined(__APPLE__)
 __asm__(".globl _uuid_time");
 __asm__(".set _uuid_time, ___uuid_time");
 extern time_t uuid_time(const uuid_t uu, struct timeval *ret_tv);