]> Zhao Yanbai Git Server - minix.git/commitdiff
xinstall fix for cross compilation
authorThomas Veerman <thomas@minix3.org>
Fri, 8 Jun 2012 09:29:47 +0000 (09:29 +0000)
committerThomas Veerman <thomas@minix3.org>
Mon, 18 Jun 2012 10:54:52 +0000 (10:54 +0000)
usr.bin/xinstall/xinstall.c

index c9555c03c9177b6d0752235ccaac6cbd7f2dfa4f..aae49e26688c06c4f0f389534c2ef8bf3561fbec 100644 (file)
@@ -251,8 +251,10 @@ main(int argc, char *argv[])
                        break;
                case 'p':
                        dopreserve = 1;
+#ifdef __minix
                        errx(1,
                            "Minix lacks support for futimes(3)/utimes(2)");
+#endif
                        break;
                case 'r':
                        dorename = 1;