diff options
-rw-r--r-- | src/modules/m_remoteinclude_http.cpp | 4 | ||||
-rw-r--r-- | win/inspircdVC80.vcproj | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/modules/m_remoteinclude_http.cpp b/src/modules/m_remoteinclude_http.cpp index f32397c81..d55b4a251 100644 --- a/src/modules/m_remoteinclude_http.cpp +++ b/src/modules/m_remoteinclude_http.cpp @@ -37,6 +37,9 @@ class ModuleRemoteIncludeHttp : public Module virtual int OnDownloadFile(const std::string &filename, std::istream* &filedata) { +#ifdef WIN32 + return 0; +#else std::stringstream* gotfile = (std::stringstream*)filedata; ServerInstance->Log(DEBUG,"OnDownloadFile in m_remoteinclude_http"); int sockfd, portno, n; @@ -105,6 +108,7 @@ class ModuleRemoteIncludeHttp : public Module ServerInstance->Log(DEBUG,"Result: %s", result.c_str()); return (result == "200"); +#endif } int SockSend(int sock, const std::string &data) diff --git a/win/inspircdVC80.vcproj b/win/inspircdVC80.vcproj index 0b03621d7..4ec4305c2 100644 --- a/win/inspircdVC80.vcproj +++ b/win/inspircdVC80.vcproj @@ -2386,6 +2386,18 @@ </FileConfiguration>
</File>
<File
+ RelativePath="..\src\modules\m_remoteinclude_http.cpp"
+ >
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ </File>
+ <File
RelativePath="..\src\modules\m_remove.cpp"
>
<FileConfiguration
|