Browse Source

gameui: fix linux build issue

pull/200/head
nillerusr 2 years ago
parent
commit
1e3389c70d
  1. 4
      gameui/BasePanel.cpp

4
gameui/BasePanel.cpp

@ -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

Loading…
Cancel
Save