Files
secondo/include/DbVersion.h

19 lines
383 B
C
Raw Normal View History

2026-01-23 17:03:45 +08:00
/*
Some macros checking for certain berkeley db versions
*/
#ifndef DbVersion_H
#define DbVersion_H
#include <db_cxx.h>
#undef DB_VERSION_REQUIRED
#define DB_VERSION_REQUIRED(major, minor) ((DB_VERSION_MAJOR > major) || \
(DB_VERSION_MAJOR == major && \
DB_VERSION_MINOR >= minor))
#endif