diff options
Diffstat (limited to 'plugins/Dbx_mdb/src/commonheaders.h')
| -rw-r--r-- | plugins/Dbx_mdb/src/commonheaders.h | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Dbx_mdb/src/commonheaders.h b/plugins/Dbx_mdb/src/commonheaders.h index 2d1a6ae580..e68a261e56 100644 --- a/plugins/Dbx_mdb/src/commonheaders.h +++ b/plugins/Dbx_mdb/src/commonheaders.h @@ -100,6 +100,12 @@ public:  	__forceinline operator MDB_cursor*() const { return m_cursor; }
  };
 +#define MDB_CHECK(A,B) \
 +	switch(A) { \
 +	case MDB_SUCCESS: break; \
 +	case MDB_MAP_FULL: continue; \
 +	default: return (B); }
 +
  #include "dbintf.h"
  #include "resource.h"
  #include "version.h"
  | 
