From 9db98f3b145eea7d023700a9973a3326dfc52cff Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 28 Oct 2012 19:16:58 +0000 Subject: (svn r24638) -Codechange: add some #ifndefs so MSU code doesn't need to compile it, and doesn't need all the required dependencies --- src/network/core/tcp_content.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/network/core/tcp_content.h') diff --git a/src/network/core/tcp_content.h b/src/network/core/tcp_content.h index 57e02d2a7..b803d7189 100644 --- a/src/network/core/tcp_content.h +++ b/src/network/core/tcp_content.h @@ -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 */ -- cgit v1.2.3-54-g00ecf