Merge pull request #231 from Laupetin/fix/linux-gcc-14-build

fix: linux gcc 14 build
This commit is contained in:
Jan 2024-08-13 00:21:04 +02:00 committed by GitHub
commit 8f804fcf50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#include "Generic/GenericStringPropertySequence.h"
#include "Parsing/Menu/Matcher/MenuMatcherFactory.h"
#include <algorithm>
#include <sstream>
using namespace menu;

6
thirdparty/zlib.lua vendored
View File

@ -44,6 +44,12 @@ function zlib:project()
"_CRT_NONSTDC_NO_DEPRECATE"
}
filter "system:linux"
defines {
"Z_HAVE_UNISTD_H"
}
filter {}
self:include(includes)
-- Disable warnings. They do not have any value to us since it is not our code.