HomeWildfire Games

Import part of commit https://github.com/premake/premake…


Import part of commit https://github.com/premake/premake-core/commit/5f57b5d62a4518f391cf66e1cfb70e4a92353178 to our copy of premake5 alpha10.
After the re-release of A23, premake5 will be updated to the latest alpha version, which includes this change.

This allows to build premake on macOS Mojave. See https://github.com/premake/premake-core/issues/1154.

Differential Revision: https://code.wildfiregames.com/D1669
Based on patch by: trompetin17