Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Charonxin committed Aug 15, 2023
1 parent d7007db commit c86d7c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Plugins/Windows/mingw_sys_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@ namespace sys_utils {
#ifndef SECURITY_WIN32
#define SECURITY_WIN32
#endif
#include <basetsd.h>
#include <windef.h>

#include <basetsd.h>
#include <ntsecapi.h>
#include <secext.h>
#include <wtypesbase.h>
Expand Down
5 changes: 4 additions & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,12 @@ target("liblolly") do

if is_plat("mingw", "windows") then
add_packages("nowide_standalone")
end

if is_plat("mingw") then
add_includedirs("Plugins/Windows")
add_files("Plugins/Windows/**.cpp")
end
end

add_configfiles(
"System/config_l1.h.xmake", {
Expand Down

0 comments on commit c86d7c2

Please sign in to comment.