Commit 24a344be authored by Rich Prohaska's avatar Rich Prohaska

add #include guard. closes #269

git-svn-id: file:///svn/tokudb@1653 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4629d955
#ifndef _DB_CXX_H_
#define _DB_CXX_H_
#include <db.h>
#include <iostream>
#include <exception>
......@@ -127,6 +130,7 @@ class Db {
int fd(int *);
void set_errpfx(const char *errpfx);
void set_error_stream(std::ostream *);
/* the cxx callbacks must be public so they can be called by the c callback. But it's really private. */
......@@ -223,3 +227,5 @@ class Dbc : protected DBC {
Dbc(); // User may not call it.
~Dbc(); // User may not delete it.
};
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment