diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-14 18:44:18 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-14 18:44:18 +0000 |
commit | 9c9386d71e1b317fa39cc251eb6450e14ec5929f (patch) | |
tree | 4f95801925c36e719dfa859c2fe13fbdccfecec7 | |
parent | e80a1296a096ff2c495b3cd2a3913d5e5f6ec450 (diff) |
Fix noeol on socketengine_select
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11874 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/socketengines/socketengine_select.cpp | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/socketengines/socketengine_select.cpp b/src/socketengines/socketengine_select.cpp index 63e8b281b..6965ee771 100644 --- a/src/socketengines/socketengine_select.cpp +++ b/src/socketengines/socketengine_select.cpp @@ -15,21 +15,11 @@ #ifndef CONFIG_USE_IOCP #include "inspircd.h" -#ifndef WINDOWS -#include <sys/select.h> -#endif // WINDOWS - -#ifndef __SOCKETENGINE_SELECT__ -#define __SOCKETENGINE_SELECT__ +#include "socketengine.h" -#include <vector> -#include <string> -#include <map> #ifndef WINDOWS #include <sys/select.h> #endif // WINDOWS -#include "inspircd.h" -#include "socketengine.h" /** A specialisation of the SocketEngine class, designed to use traditional select(). */ @@ -49,10 +39,6 @@ public: virtual std::string GetName(); }; -#endif - - - SelectEngine::SelectEngine() { MAX_DESCRIPTORS = FD_SETSIZE; @@ -188,4 +174,4 @@ SocketEngine* CreateSocketEngine() { return new SelectEngine; } -#endif
\ No newline at end of file +#endif |