From bba90a6562f298b7f8af9da1b838b57db5fc0c83 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 4 Nov 2017 09:44:29 -0700 Subject: [PATCH] Fixed using libunwind on iOS, where it's only available on the simulator (thanks Vit!) --- include/SDL_config_iphoneos.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/SDL_config_iphoneos.h b/include/SDL_config_iphoneos.h index 38dcd9a77da8a..83b2734151336 100644 --- a/include/SDL_config_iphoneos.h +++ b/include/SDL_config_iphoneos.h @@ -44,7 +44,8 @@ #define HAVE_STDIO_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_TYPES_H 1 -#define HAVE_LIBUNWIND_H 1 +/* The libunwind functions are only available on x86 */ +/* #undef HAVE_LIBUNWIND_H */ /* C library functions */ #define HAVE_MALLOC 1