Skip to content

Commit 1e3389c

Browse files
committed
gameui: fix linux build issue
1 parent e84ad80 commit 1e3389c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gameui/BasePanel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ using namespace vgui;
8787
#include "tier1/utlstring.h"
8888
#include "steam/steam_api.h"
8989

90-
#ifdef USE_SDL
90+
#ifdef ANDROID
9191
#include <SDL_misc.h>
9292
#endif
9393

@@ -241,7 +241,7 @@ class ImageButton : public vgui::Panel
241241
if( GameUI().IsInLevel() ) return;
242242

243243
m_bSelected = false;
244-
#ifdef USE_SDL
244+
#ifdef ANDROID
245245
if( m_szUrl ) SDL_OpenURL( m_szUrl );
246246
#endif
247247

0 commit comments

Comments
 (0)