diff options
Diffstat (limited to 'bin/bbackupd/BackupClientInodeToIDMap.h')
-rwxr-xr-x | bin/bbackupd/BackupClientInodeToIDMap.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/bin/bbackupd/BackupClientInodeToIDMap.h b/bin/bbackupd/BackupClientInodeToIDMap.h index 121e88fd..1dfef702 100755 --- a/bin/bbackupd/BackupClientInodeToIDMap.h +++ b/bin/bbackupd/BackupClientInodeToIDMap.h @@ -20,12 +20,14 @@ #define BACKIPCLIENTINODETOIDMAP_IN_MEMORY_IMPLEMENTATION #endif -typedef ino_t InodeRefType; - // avoid having to include the DB files when not necessary #ifndef BACKIPCLIENTINODETOIDMAP_IMPLEMENTATION +#ifdef BERKELY_V4 + class Db; +#else class DB; #endif +#endif // -------------------------------------------------------------------------- // @@ -58,8 +60,12 @@ private: #else bool mReadOnly; bool mEmpty; +#ifdef BERKELY_V4 + Db *dbp; // c++ style implimentation +#else DB *dbp; // C style interface, use notation from documentation -#endif +#endif // BERKELY_V4 +#endif // BACKIPCLIENTINODETOIDMAP_IN_MEMORY_IMPLEMENTATION }; #endif // BACKUPCLIENTINODETOIDMAP__H |