From cf4ac87da5bba7e95dda8df09ef8ae63d1a2c5ee Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Wed, 7 Sep 2016 15:20:44 +1000 Subject: build: fix warnings on mingw Apparently some versions of mingw do have S_IRWXU and S_IRWXO Signed-off-by: Steve Bennett --- jim-win32compat.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jim-win32compat.h b/jim-win32compat.h index 2ef8d85..371f7bd 100644 --- a/jim-win32compat.h +++ b/jim-win32compat.h @@ -22,8 +22,12 @@ char *dlerror(void); #endif /* MinGW does not have group/owner permissions */ +#ifndef S_IRWXG #define S_IRWXG 0 +#endif +#ifndef S_IRWXO #define S_IRWXO 0 +#endif #ifdef _MSC_VER /* These are msvc vs gcc */ -- cgit v1.1