(svn r24638) -Codechange: add some #ifndefs so MSU code doesn't need to compile it, and doesn't need all the required dependencies

This commit is contained in:
rubidium
2012-10-28 19:16:58 +00:00
parent f64d50ec26
commit 9db98f3b14
2 changed files with 10 additions and 1 deletions

View File

@@ -91,7 +91,9 @@ struct ContentInfo {
size_t Size() const;
bool IsSelected() const;
bool IsValid() const;
#ifndef OPENTTD_MSU
const char *GetTextfile(TextfileType type) const;
#endif /* OPENTTD_MSU */
};
/** Base socket handler for all Content TCP sockets */
@@ -207,7 +209,9 @@ public:
void ReceivePackets();
};
#ifndef OPENTTD_MSU
Subdirectory GetContentInfoSubDir(ContentType type);
#endif /* OPENTTD_MSU */
#endif /* ENABLE_NETWORK */