]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/bpipe.c
19July06
[bacula/bacula] / bacula / src / lib / bpipe.c
index a28f3650b395b43aa1058c91d913e5694d369cda..12a5d8b925397c591c0a329e84314ff79d0165ee 100644 (file)
@@ -32,7 +32,7 @@ int execvp_errors[] = {
         E2BIG,
         ENAMETOOLONG,
         ENOMEM,
-#ifndef WIN32
+#ifndef HAVE_WIN32
         ETXTBSY,
 #endif
         ENOENT
@@ -232,7 +232,7 @@ int close_bpipe(BPIPE *bpipe)
          }
          Dmsg1(800, "child status=%d\n", stat & ~b_errno_exit);
       } else if (WIFSIGNALED(chldstatus)) {  /* process died */
-#ifndef WIN32
+#ifndef HAVE_WIN32
          stat = WTERMSIG(chldstatus);
 #else
 #warning "WTERMSIG undefined in Win32 !!!"