From b5441f7470c3454d2b6d7fe514c51c5ae686cea7 Mon Sep 17 00:00:00 2001 From: Svyatoslav Scherbina Date: Tue, 21 Mar 2017 19:21:42 +0700 Subject: [PATCH] Exclude `_cvtsh_ss` when interoping with SDL2 This function requires some target features to be enabled. --- samples/tetris/sdl.def | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/tetris/sdl.def b/samples/tetris/sdl.def index f79cd0b19f1..301c2629c21 100644 --- a/samples/tetris/sdl.def +++ b/samples/tetris/sdl.def @@ -2,6 +2,7 @@ headers = SDL.h stdio.h string.h unistd.h stdlib.h time.h excludedFunctions = _IO_flockfile _IO_funlockfile _IO_ftrylockfile \ _IO_cleanup_region_start _IO_cleanup_region_end \ _mm_stream_si32 _mm_stream_si64 \ + _cvtsh_ss \ SDL_PointInRect SDL_RectEmpty SDL_RectEquals entryPoint = SDL_main