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:
parent
593a69ce25
commit
62a07df45e
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user