]> git.pld-linux.org Git - packages/sway.git/commitdiff
- fix x32 conditions
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 6 Feb 2021 09:33:38 +0000 (10:33 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 6 Feb 2021 09:33:38 +0000 (10:33 +0100)
x32.patch

index 6761cb676f1f96d334645703c2f2234fdae8ebfe..76179510d3f30f0468e2146ab57138dadd2141dd 100644 (file)
--- a/x32.patch
+++ b/x32.patch
@@ -4,7 +4,7 @@
        clock_gettime(CLOCK_MONOTONIC, &ts);
        timespec_sub(&ts, &ts, &start_time);
  
-+#ifdef __ILP32__
++#if defined(__x86_64__) && defined(__ILP32__)
 +      fprintf(stderr, "%02d:%02d:%02d.%03lld ", (int)(ts.tv_sec / 60 / 60),
 +#else
        fprintf(stderr, "%02d:%02d:%02d.%03ld ", (int)(ts.tv_sec / 60 / 60),
This page took 0.131073 seconds and 4 git commands to generate.