]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: update pid_t type static check
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Fri, 20 Apr 2012 13:13:52 +0000 (15:13 +0200)
committerCole Robinson <crobinso@redhat.com>
Thu, 7 Jun 2012 22:12:18 +0000 (18:12 -0400)
The code uses long long for pid_t now.
It fails on mingw64 without this change.
(cherry picked from commit d08c28f65faf85804fe7a7295a1694bdb0d225c3)

src/util/virpidfile.c

index 59d0c940336d9342f4d5b8b14b628dd597812bb9..d6235d2df99d58639ac4297b9de18f76febd594f 100644 (file)
@@ -316,9 +316,6 @@ cleanup:
     return rc;
 }
 
-
-verify(sizeof(pid_t) <= sizeof(unsigned int));
-
 int virPidFileAcquirePath(const char *path,
                           pid_t pid)
 {