From 62a07df45e225b3bab68790758f81371affd9538 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Sun, 14 Jul 2019 13:38:51 -0700 Subject: [PATCH] MSVC lacks S_IXUSR modified: p_unix.cpp --- src/p_unix.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/p_unix.cpp b/src/p_unix.cpp index e8db891f..d6bb33ff 100644 --- a/src/p_unix.cpp +++ b/src/p_unix.cpp @@ -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() {