gameui: fix linux build issue

This commit is contained in:
nillerusr 2023-02-17 03:23:40 +03:00
parent e84ad80c46
commit 1e3389c70d

View File

@ -87,7 +87,7 @@ using namespace vgui;
#include "tier1/utlstring.h" #include "tier1/utlstring.h"
#include "steam/steam_api.h" #include "steam/steam_api.h"
#ifdef USE_SDL #ifdef ANDROID
#include <SDL_misc.h> #include <SDL_misc.h>
#endif #endif
@ -241,7 +241,7 @@ public:
if( GameUI().IsInLevel() ) return; if( GameUI().IsInLevel() ) return;
m_bSelected = false; m_bSelected = false;
#ifdef USE_SDL #ifdef ANDROID
if( m_szUrl ) SDL_OpenURL( m_szUrl ); if( m_szUrl ) SDL_OpenURL( m_szUrl );
#endif #endif