]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/patches/testing/faketape.h
Commit NULL vol name patch
[bacula/bacula] / bacula / patches / testing / faketape.h
index 58411ce9bbc37281a730c1a19b262349ec683f9c..040f5a807543d20362ec9d7ade8f016308bc61ed 100644 (file)
@@ -38,7 +38,9 @@
 #include <stddef.h>
 #include "bacula.h"
 
-#define FTAPE_MAX_DRIVE 20
+#ifdef USE_FAKETAPE
+
+#define FTAPE_MAX_DRIVE 50
 
 /* 
  * Theses functions will replace open/read/write
@@ -99,4 +101,5 @@ public:
    int tape_pos(struct mtpos *mt_com);
 };
 
+#endif /* USE_FAKETAPE */
 #endif /* !FAKETAPE_H */