]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - win/configure.cpp
Fix crash on matching j:@#chan ban when the user is not in the channel
[user/henk/code/inspircd.git] / win / configure.cpp
index 275cb4fae2131b620786df0e135567fb70f137f0..f2a4a92bb3c2ecaf93cc2ff2ec685d7a3518d370 100644 (file)
@@ -229,7 +229,6 @@ void Banner()
 
 void Run()
 {
-       bool use_iocp = false;
        bool use_openssl = false;
        bool ipv6 = true;
        char mod_path[MAX_PATH];
@@ -271,16 +270,6 @@ void Run()
 #endif
        printf_c("InspIRCd revision ID: \033[1;32m%s \033[0m\n\n", revision ? revision_text : "(Non-SVN build)");
 
-       // detect windows
-       if(iswinxp())
-       {
-               printf_c("You are running Windows 2000 or above, and IOCP support is most likely available.\n"
-                                "Thisis much more efficent but is currently EXPERIMENTAL and UNSUPPORTED.\n"
-                                "If you are unsure, answer no.\n\n");
-
-               use_iocp = get_bool_option("Do you want to use the IOCP implementation?", false);
-       }
-
        ipv6 = get_bool_option("Do you want to enable IPv6?", false);
 
        printf_c("\033[1mAll paths are relative to the binary directory.\033[0m\n");
@@ -344,7 +333,7 @@ void Run()
        printf_c("\033[0mConfig path:\033[1;32m              %s\n", config_file);
        printf_c("\033[0mModule path:\033[1;32m              %s\n", mod_path);
        printf_c("\033[0mLibrary path:\033[1;32m             %s\n", library_dir);
-       printf_c("\033[0mSocket Engine:\033[1;32m            %s\n", use_iocp ? "iocp" : "select");
+       printf_c("\033[0mSocket Engine:\033[1;32m            %s\n", "select");
 
        printf("\n"); sc(TNORMAL);
        if(get_bool_option("Are these settings correct?", true) == false)
@@ -364,10 +353,6 @@ void Run()
        fprintf(f, "/* Auto generated by configure, do not modify! */\n");
        fprintf(f, "#ifndef __CONFIGURATION_AUTO__\n");
        fprintf(f, "#define __CONFIGURATION_AUTO__\n\n");
-       if(use_iocp)
-               fprintf(f, "#define CONFIG_USE_IOCP 1\n\n");
-       if (ipv6)
-               fprintf(f, "#define IPV6 1\n\n");
 
        fprintf(f, "#define CONFIG_FILE \"%s/inspircd.conf\"\n", config_file);
        fprintf(f, "#define MOD_PATH \"%s\"\n", mod_path);
@@ -388,7 +373,7 @@ void Run()
        fprintf(f, "/* Auto generated by configure, do not modify or commit to svn! */\n");
        fprintf(f, "#ifndef __CONFIGURATION_SOCKETENGINE__\n");
        fprintf(f, "#define __CONFIGURATION_SOCKETENGINE__\n\n");
-       fprintf(f, "#include \"socketengines/socketengine_%s.h\"\n\n", use_iocp ? "iocp" : "select");
+       fprintf(f, "#include \"socketengines/socketengine_%s.h\"\n\n", "select");
        fprintf(f, "#endif\n\n");
        fclose(f);