mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
add #include guard. closes #269
git-svn-id: file:///svn/tokudb@1653 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
4629d955af
commit
24a344be36
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
#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
|
||||
|
|
Loading…
Add table
Reference in a new issue