From fdb8ea1ce101d66eeb6aededa7d8a7f03c4c5ff8 Mon Sep 17 00:00:00 2001 From: otavepto <153766569+otavepto@users.noreply.github.com> Date: Fri, 7 Jun 2024 19:48:29 +0300 Subject: [PATCH] remove ingame_overlay build fixes, already implemented officially --- premake5-deps.lua | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/premake5-deps.lua b/premake5-deps.lua index 7d0db6c4..59d5669c 100644 --- a/premake5-deps.lua +++ b/premake5-deps.lua @@ -608,16 +608,13 @@ if _OPTIONS["build-ingame_overlay"] or _OPTIONS["all-build"] then -- fix missing standard include/header file for gcc/clang local ingame_overlay_fixes = {} if string.match(_ACTION, 'gmake.*') then - ingame_overlay_fixes = { - '-include cstdint', - '-include cinttypes', - } -- MinGW fixes if os.target() == 'windows' then - -- MinGW throws this error: Library.cpp:77:26: error: invalid conversion from 'FARPROC' {aka 'long long int (*)()'} to 'void*' [-fpermissive] - table.insert(ingame_overlay_fixes, '-fpermissive') + -- MinGW doesn't define _M_AMD64 or _M_IX86, which makes SystemDetector.h fail to recognize os -- MinGW throws this error: Filesystem.cpp:139:38: error: no matching function for call to 'stat::stat(const char*, stat*) table.insert(ingame_overlay_fixes, '-include sys/stat.h') + -- MinGW throws this error: Library.cpp:77:26: error: invalid conversion from 'FARPROC' {aka 'long long int (*)()'} to 'void*' [-fpermissive] + table.insert(ingame_overlay_fixes, '-fpermissive') end end