Commit 9382f3a0 authored by unknown's avatar unknown

Hack! Compile fix to provide a "typedef" for "u_int32_t" where it is missing.

Should be replaced by a cleaner solution.


sql/mysqld.cc:
  Hack!  "u_int32_t" is typically defined by system include files, but not everywhere.
  Replacement declaration taken from "libedit/sys.h".
  It might be better to include the BDB header file where this is done more elaborate,
  but I would rather not do this larger change.
parent f91475a7
...@@ -390,6 +390,9 @@ extern ulong srv_commit_concurrency; ...@@ -390,6 +390,9 @@ extern ulong srv_commit_concurrency;
} }
#endif #endif
#ifdef WITH_BERKELEY_STORAGE_ENGINE #ifdef WITH_BERKELEY_STORAGE_ENGINE
#ifndef HAVE_U_INT32_T
typedef unsigned int u_int32_t;
#endif
extern const u_int32_t bdb_DB_TXN_NOSYNC, bdb_DB_RECOVER, bdb_DB_PRIVATE; extern const u_int32_t bdb_DB_TXN_NOSYNC, bdb_DB_RECOVER, bdb_DB_PRIVATE;
extern bool berkeley_shared_data; extern bool berkeley_shared_data;
extern u_int32_t berkeley_init_flags,berkeley_env_flags, berkeley_lock_type, extern u_int32_t berkeley_init_flags,berkeley_env_flags, berkeley_lock_type,
......
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