]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/findlib/create_file.c
Update doc
[bacula/bacula] / bacula / src / findlib / create_file.c
index edc38ccf1a8b019d33667184014638fcf967e7fd..500061d25a1eb343516d9ed41e8f5213d93467b3 100644 (file)
@@ -179,7 +179,7 @@ int create_file(JCR *jcr, ATTR *attr, BFILE *bfd, int replace)
            return CF_ERROR;
         }
         return CF_EXTRACT;
-
+#ifndef HAVE_WIN32  // none of these exists on MS Windows
       case FT_RAW:                   /* Bacula raw device e.g. /dev/sda1 */
       case FT_FIFO:                  /* Bacula fifo to save data */
       case FT_SPEC:                     
@@ -199,7 +199,7 @@ int create_file(JCR *jcr, ATTR *attr, BFILE *bfd, int replace)
            }
         }       
         if (attr->type == FT_RAW || attr->type == FT_FIFO) {
-           btimer_id tid;
+           btimer_t *tid;
             Dmsg1(200, "FT_RAW|FT_FIFO %s\n", attr->ofname);
            mode =  O_WRONLY | O_BINARY;
            /* Timeout open() in 60 seconds */
@@ -240,7 +240,7 @@ int create_file(JCR *jcr, ATTR *attr, BFILE *bfd, int replace)
            return CF_ERROR;
         }
         return CF_CREATED;
-
+#endif
       } /* End inner switch */
 
    case FT_DIR: