Commit 5b74ad09 authored by Rich Prohaska's avatar Rich Prohaska

fix db.h 4.6 compatible

git-svn-id: file:///svn/tokudb@2578 c7de825b-a66e-492c-adef-691d508d4ae1
parent 0bf7262f
...@@ -277,11 +277,11 @@ struct __toku_dbt { ...@@ -277,11 +277,11 @@ struct __toku_dbt {
#ifdef _TOKUDB_WRAP_H #ifdef _TOKUDB_WRAP_H
#define txn_begin txn_begin_tokudb #define txn_begin txn_begin_tokudb
#endif #endif
int db_env_create(DB_ENV **, u_int32_t); int db_env_create(DB_ENV **, u_int32_t) __attribute__((__visibility__("default")));
int db_create(DB **, DB_ENV *, u_int32_t); int db_create(DB **, DB_ENV *, u_int32_t) __attribute__((__visibility__("default")));
char *db_strerror(int); char *db_strerror(int) __attribute__((__visibility__("default")));
const char *db_version(int*,int *,int *); const char *db_version(int*,int *,int *) __attribute__((__visibility__("default")));
int log_compare (const DB_LSN*, const DB_LSN *); int log_compare (const DB_LSN*, const DB_LSN *) __attribute__((__visibility__("default")));
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #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