1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-04 04:52:47 -05:00

Windows: condition setprocessacl() on lack of -DNO_SECURITY.

We also have the special-purpose -DUNPROTECT to disable just the ACL
changes, but if you want to compile without any Windows security API
support at all (e.g. experimentally building against winelib) then
it's easier not to have to specify both defines separately.
This commit is contained in:
Simon Tatham
2016-04-02 13:48:20 +01:00
parent 8730ed5297
commit 00960d8695
5 changed files with 5 additions and 5 deletions

View File

@ -498,7 +498,7 @@ int main(int argc, char **argv)
}
}
#ifndef UNPROTECT
#if !defined UNPROTECT && !defined NO_SECURITY
/*
* Protect our process.
*/