]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl prepare for trunk inclusion
authorEric Bollengier <eric@eb.homelinux.org>
Sun, 11 May 2008 18:35:08 +0000 (18:35 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sun, 11 May 2008 18:35:08 +0000 (18:35 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6951 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/patches/testing/faketape.c
bacula/patches/testing/faketape.h

index 80acad6116073f12edf250ae11da434d160f33c6..e8792e4a10521138ff608eb3459dd2b909e355be 100644 (file)
@@ -59,6 +59,8 @@ Device {
 
 #include "bacula.h"            /* define 64bit file usage */
 #include "stored.h"
+
+#ifdef USE_FAKETAPE
 #include "faketape.h"
 
 static int dbglevel = 10;
@@ -871,3 +873,5 @@ void faketape::dump()
    Dmsg4(dbglevel+1, "EOF=%i EOT=%i EOD=%i BOT=%i\n", 
         atEOF, atEOT, atEOD, atBOT);  
 }
+
+#endif /* USE_FAKETAPE */
index 2f86c4f07ae0bcf1b83d73fbb1ff2c79eb28cd51..040f5a807543d20362ec9d7ade8f016308bc61ed 100644 (file)
@@ -38,6 +38,8 @@
 #include <stddef.h>
 #include "bacula.h"
 
+#ifdef USE_FAKETAPE
+
 #define FTAPE_MAX_DRIVE 50
 
 /* 
@@ -99,4 +101,5 @@ public:
    int tape_pos(struct mtpos *mt_com);
 };
 
+#endif /* USE_FAKETAPE */
 #endif /* !FAKETAPE_H */