Commit 5e870504 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 cb91e251
#ifndef _DB_CXX_H_
#define _DB_CXX_H_
#include <db.h> #include <db.h>
#include <iostream> #include <iostream>
#include <exception> #include <exception>
...@@ -127,6 +130,7 @@ class Db { ...@@ -127,6 +130,7 @@ class Db {
int fd(int *); int fd(int *);
void set_errpfx(const char *errpfx);
void set_error_stream(std::ostream *); 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. */ /* 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 { ...@@ -223,3 +227,5 @@ class Dbc : protected DBC {
Dbc(); // User may not call it. Dbc(); // User may not call it.
~Dbc(); // User may not delete 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