Skip to content

Commit

Permalink
Cleaner way to fix libzip dependency on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyCEO committed Sep 7, 2023
1 parent 7b30964 commit da607b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/libzip/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ project "zip-lib"

filter "system:linux or bsd or solaris or haiku"
defines { "HAVE_SSIZE_T_LIBZIP", "HAVE_CONFIG_H" }
forceincludes { "unistd.h" }

filter "system:windows"
defines { "_WINDOWS" }
Expand Down

0 comments on commit da607b8

Please sign in to comment.