Extract the SGEN debugging code into a separate file.
[mono.git] / eglib / src / gspawn.c
index fc127b3f8a355442bc1a389e1ffc9cb5ba89e090..4f4e5bef5391cf94e8a601125637c70fcab13371 100644 (file)
@@ -188,12 +188,12 @@ create_pipe (int *fds, GError **error)
 }
 #endif /* G_OS_WIN32 */
 
-static ssize_t
+static int
 write_all (int fd, const void *vbuf, size_t n)
 {
        const char *buf = (const char *) vbuf;
        size_t nwritten = 0;
-       ssize_t w;
+       int w;
        
        do {
                do {