[Scummvm-git-logs] scummvm master -> 1636f60920719809ee74cb53598cbae767350da9
digitall
noreply at scummvm.org
Sat Jul 29 00:46:45 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
1636f60920 AGS: Fix IOS-7 Build Due to Missing Forbidden Exceptions
Commit: 1636f60920719809ee74cb53598cbae767350da9
https://github.com/scummvm/scummvm/commit/1636f60920719809ee74cb53598cbae767350da9
Author: D G Turner (digitall at scummvm.org)
Date: 2023-07-29T01:46:05+01:00
Commit Message:
AGS: Fix IOS-7 Build Due to Missing Forbidden Exceptions
These are pulled in via the wchar.h system header.
Changed paths:
engines/ags/lib/alfont/alfont.cpp
diff --git a/engines/ags/lib/alfont/alfont.cpp b/engines/ags/lib/alfont/alfont.cpp
index 389a05b7306..6dda8817a85 100644
--- a/engines/ags/lib/alfont/alfont.cpp
+++ b/engines/ags/lib/alfont/alfont.cpp
@@ -23,6 +23,21 @@
#define FORBIDDEN_SYMBOL_EXCEPTION_longjmp
#define FORBIDDEN_SYMBOL_EXCEPTION_strcpy
#define FORBIDDEN_SYMBOL_EXCEPTION_strcat
+
+// Following are pulled in for wchar.h header on XCode iOS-7
+#define FORBIDDEN_SYMBOL_EXCEPTION_FILE
+#define FORBIDDEN_SYMBOL_EXCEPTION_fgetwc
+#define FORBIDDEN_SYMBOL_EXCEPTION_fgetws
+#define FORBIDDEN_SYMBOL_EXCEPTION_asctime
+#define FORBIDDEN_SYMBOL_EXCEPTION_clock
+#define FORBIDDEN_SYMBOL_EXCEPTION_ctime
+#define FORBIDDEN_SYMBOL_EXCEPTION_difftime
+#define FORBIDDEN_SYMBOL_EXCEPTION_getdate
+#define FORBIDDEN_SYMBOL_EXCEPTION_gmtime
+#define FORBIDDEN_SYMBOL_EXCEPTION_localtime
+#define FORBIDDEN_SYMBOL_EXCEPTION_mktime
+#define FORBIDDEN_SYMBOL_EXCEPTION_time
+
#include "common/scummsys.h"
#ifdef USE_FREETYPE2
More information about the Scummvm-git-logs
mailing list