diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-21 12:09:49 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-21 12:09:49 +0000 |
commit | 0b919e6a24ae389d8da0adc49c10cbdcf4d0acc5 (patch) | |
tree | c82dc2f37d8ece2fd9eec727c74dfe0d007ab5ba | |
parent | e30f934cc03395194cd72472acc9cf4b05d9e64e (diff) |
win32 compile error fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8747 e03df62e-2008-0410-955e-edbf42e46eb7
-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
|