]> 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)
committerEric Blake <eblake@redhat.com>
Wed, 2 May 2012 18:50:00 +0000 (12:50 -0600)
The code uses long long for pid_t now.
It fails on mingw64 without this change.

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)
 {