Fix macOS build target in Xcode project.

- Add missing files for desktop platforms in generate-darwin-source-and-headers.py, and in the Xcode project.
- Add a static library target for macOS.
- Fix "implicit conversion loses integer precision" warnings for iOS mad macOS targets.
This commit is contained in:
Jean-Luc Jumpertz
2017-09-04 15:55:34 +02:00
parent 7d504f7a8e
commit a78da73956
5 changed files with 220 additions and 17 deletions
+1 -1
View File
@@ -506,7 +506,7 @@ open_temp_exec_file_dir (const char *dir)
}
#endif
lendir = strlen (dir);
lendir = (int) strlen (dir);
tempname = __builtin_alloca (lendir + sizeof (suffix));
if (!tempname)