1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

MSVC lacks S_IXUSR

modified:   p_unix.cpp
This commit is contained in:
John Reiser 2019-07-14 13:38:51 -07:00
parent 593a69ce25
commit 62a07df45e

View File

@ -57,6 +57,11 @@ PackUnix::PackUnix(InputFile *f) :
}
#ifndef S_IXUSR //{ MSVC lacks this
#define S_IXUSR __S_IEXEC
#define __S_IEXEC 0100 /* Execute by owner. */
#endif //}
// common part of canPack(), enhanced by subclasses
bool PackUnix::canPack()
{