From ec1beaa2ee07368368e9bd45fe400eedc57419eb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 21 Aug 2013 14:37:03 +0300 Subject: first part of fixes for compilation with SDL2 --- src/net/download.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/download.cpp') diff --git a/src/net/download.cpp b/src/net/download.cpp index a8f0e1c0c..f469a3258 100644 --- a/src/net/download.cpp +++ b/src/net/download.cpp @@ -169,7 +169,11 @@ bool Download::start() { logger->log("Starting download: %s", mUrl.c_str()); +#ifdef USE_SDL2 + mThread = SDL_CreateThread(downloadThread, "download", this); +#else mThread = SDL_CreateThread(downloadThread, this); +#endif if (!mThread) { -- cgit v1.2.3-60-g2f50