From 377a7a968b6a906f262a45abea9a563ffc471938 Mon Sep 17 00:00:00 2001 From: Naram Qashat Date: Mon, 24 Oct 2011 16:32:29 -0400 Subject: Fixed bug #1349 (m_sqlite compiles without error under FreeBSD), as well as use C99's stdint.h (or cstdint if available) to get (u)intX_t types instead of our stupid typedefs. pstdint.h included in case there is no cstdint or stdint.h available. --- include/extern.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/extern.h') diff --git a/include/extern.h b/include/extern.h index 83907224f..9a1583ec6 100644 --- a/include/extern.h +++ b/include/extern.h @@ -171,8 +171,8 @@ E bool nickIsServices(const Anope::string &nick, bool bot); E void add_entropy_userkeys(); E void rand_init(); E unsigned char getrandom8(); -E uint16 getrandom16(); -E uint32 getrandom32(); +E uint16_t getrandom16(); +E uint32_t getrandom32(); E std::list BuildStringList(const Anope::string &, char = ' '); E std::vector BuildStringVector(const Anope::string &, char = ' '); @@ -208,14 +208,14 @@ E void notice_server(const Anope::string &source, const Server *s, const char *f /**** sockets.cpp ****/ -E int32 TotalRead; -E int32 TotalWritten; +E int32_t TotalRead; +E int32_t TotalWritten; E SocketIO normalSocketIO; /**** users.c ****/ -E int32 opcnt; -E uint32 maxusercnt, usercnt; +E int32_t opcnt; +E uint32_t maxusercnt, usercnt; E time_t maxusertime; E User *finduser(const Anope::string &nick); -- cgit