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.
This commit is contained in:
unknown 2005-11-09 18:44:28 +01:00
parent f91475a7aa
commit 9382f3a082

View file

@ -390,6 +390,9 @@ extern ulong srv_commit_concurrency;
}
#endif
#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 bool berkeley_shared_data;
extern u_int32_t berkeley_init_flags,berkeley_env_flags, berkeley_lock_type,