msvc doesnt have unistd?

This commit is contained in:
NishiOwO 2025-04-10 13:28:35 +09:00
parent a4bb31ae92
commit 415d2a208e
No known key found for this signature in database
GPG Key ID: 27EF69B208EB9343

View File

@ -71,9 +71,12 @@ newaction({
function default_stuffs()
characterset("MBCS")
defines({
"HAVE_UNISTD_H=1",
"HAVE_STDARG_H=1"
"HAVE_UNISTD_H=1"
})
filter("toolset:not msc")
defines({
"HAVE_STDARG_H=1"
})
filter("system:windows")
defines({
"THREAD_WIN32"