From f11db4d15d9cac84e4f0a7a253c85f712de81c1f Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 11 May 2008 18:35:08 +0000 Subject: [PATCH] ebl prepare for trunk inclusion git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6951 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/patches/testing/faketape.c | 4 ++++ bacula/patches/testing/faketape.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/bacula/patches/testing/faketape.c b/bacula/patches/testing/faketape.c index 80acad6116..e8792e4a10 100644 --- a/bacula/patches/testing/faketape.c +++ b/bacula/patches/testing/faketape.c @@ -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 */ diff --git a/bacula/patches/testing/faketape.h b/bacula/patches/testing/faketape.h index 2f86c4f07a..040f5a8075 100644 --- a/bacula/patches/testing/faketape.h +++ b/bacula/patches/testing/faketape.h @@ -38,6 +38,8 @@ #include #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 */ -- 2.39.2