Selaa lähdekoodia

Fixed using libunwind on iOS, where it's only available on the simulator (thanks Vit!)

Sam Lantinga 8 vuotta sitten
vanhempi
commit
bba90a6562
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      include/SDL_config_iphoneos.h

+ 2 - 1
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