diff options
-rw-r--r-- | include/base.h | 3 | ||||
-rw-r--r-- | src/base.cpp | 3 | ||||
-rw-r--r-- | src/inspircd.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/base.h b/include/base.h index 13c361c0b..cec519e5c 100644 --- a/include/base.h +++ b/include/base.h @@ -88,9 +88,6 @@ public: char* GetExt(std::string key); }; -const int bitfields[] = {1,2,4,8,16,32,64,128}; -const int inverted_bitfields[] = {~1,~2,~4,~8,~16,~32,~64,~128}; - /** BoolSet is a utility class designed to hold eight bools in a bitmask. * Use BoolSet::Set and BoolSet::Get to set and get bools in the bitmask, * and Unset and Invert for special operations upon them. diff --git a/src/base.cpp b/src/base.cpp index 9d03b6afb..69468f59c 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -23,6 +23,9 @@ #include "modules.h" #include "helperfuncs.h" +const int bitfields[] = {1,2,4,8,16,32,64,128}; +const int inverted_bitfields[] = {~1,~2,~4,~8,~16,~32,~64,~128}; + extern time_t TIME; bool Extensible::Extend(std::string key, char* p) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 4291f604c..71ea723d5 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2684,7 +2684,7 @@ int InspIRCd(char** argv, int argc) WritePID(PID); /* setup select call */ -#ifndef USE_KQUEUE +#ifdef USE_SELECT FD_ZERO(&selectFds); #endif log(DEBUG,"InspIRCd: startup: zero selects"); |