mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
fix redefinition compiler warnings in QZipReader
the warnings are triggered when miniz is used along with the MinGW toolchain because miniz includes sys/stat.h Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c4d88c7cb9
commit
60a0fa74e2
1 changed files with 18 additions and 6 deletions
|
@ -74,12 +74,24 @@
|
|||
# ifndef S_IXUSR
|
||||
# define S_IXUSR 0100
|
||||
# endif
|
||||
# define S_IRGRP 0040
|
||||
# define S_IWGRP 0020
|
||||
# define S_IXGRP 0010
|
||||
# define S_IROTH 0004
|
||||
# define S_IWOTH 0002
|
||||
# define S_IXOTH 0001
|
||||
# ifndef S_IRGRP
|
||||
# define S_IRGRP 0040
|
||||
# endif
|
||||
# ifndef S_IWGRP
|
||||
# define S_IWGRP 0020
|
||||
# endif
|
||||
# ifndef S_IXGRP
|
||||
# define S_IXGRP 0010
|
||||
# endif
|
||||
# ifndef S_IROTH
|
||||
# define S_IROTH 0004
|
||||
# endif
|
||||
# ifndef S_IWOTH
|
||||
# define S_IWOTH 0002
|
||||
# endif
|
||||
# ifndef S_IXOTH
|
||||
# define S_IXOTH 0001
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
|
|
Loading…
Add table
Reference in a new issue