]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/dynamic.h
Pass an irc::socket::sockaddrs to SocketEngine::Connect().
[user/henk/code/inspircd.git] / include / dynamic.h
index 5e66ddbb0493938a440eb42afcabf1f3c0447833..905eb479e9ed02efe5eabb21f5458ea44b21d30d 100644 (file)
@@ -20,8 +20,7 @@
  */
 
 
-#ifndef DLL_H
-#define DLL_H
+#pragma once
 
 /** The DLLManager class is able to load a module file by filename,
  * and locate its init_module symbol.
@@ -33,11 +32,9 @@ class CoreExport DLLManager : public classbase
         */
        std::string err;
 
-#ifdef _WIN32
        /** Sets the last error string
        */
        void RetrieveLastError();
-#endif
 
  public:
        /** This constructor loads the module using dlopen()
@@ -65,6 +62,3 @@ class CoreExport DLLManager : public classbase
        /** Get detailed version information from the module file */
        std::string GetVersion();
 };
-
-#endif
-