net: Assume SDL_NET_VERSION to be always defined

This commit is contained in:
Ignacio R. Morelle 2015-05-21 05:39:51 -03:00
parent 6f69df12d1
commit 1614a3bc26

View file

@ -1207,7 +1207,6 @@ std::string describe_versions()
{
std::stringstream ss;
#ifdef SDL_NET_VERSION
SDL_version compile_version;
SDL_NET_VERSION(&compile_version);
@ -1215,7 +1214,6 @@ std::string describe_versions()
<< static_cast<int> (compile_version.major) << "."
<< static_cast<int> (compile_version.minor) << "."
<< static_cast<int> (compile_version.patch) << " \n";
#endif
const SDL_version *link_version = SDLNet_Linked_Version();
ss << "Running with SDL_net version: "