Skip to content

Commit

Permalink
Added missing #endif to system_android.go (#511)
Browse files Browse the repository at this point in the history
Since it does not compile currently:

../../../../go/pkg/mod/github.com/veandco/[email protected]/sdl/system_android.go:22:2: error: unterminated conditional directive
#if !(SDL_VERSION_ATLEAST(2,0,16))
 ^
1 error generated.
  • Loading branch information
Lundis authored Mar 21, 2022
1 parent 503d73c commit 01559dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdl/system_android.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ static int SDL_AndroidShowToast(const char* message, int duration, int gravity,
{
return -1;
}
#endif
*/
import "C"
import "unsafe"
Expand Down

0 comments on commit 01559dc

Please sign in to comment.