mirror of git://git.gnupg.org/gnupg.git
common: Portability fix for logging.c.
* common/logging.c (S_IRGRP, S_IWGRP, S_IROTH, S_IWOTH): Avoid duplicated definition. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
a1446163d5
commit
456c5cdb2d
|
@ -64,10 +64,14 @@
|
|||
#include "sysutils.h"
|
||||
|
||||
#ifdef HAVE_W32_SYSTEM
|
||||
# define S_IRGRP S_IRUSR
|
||||
# define S_IROTH S_IRUSR
|
||||
# define S_IWGRP S_IWUSR
|
||||
# define S_IWOTH S_IWUSR
|
||||
# ifndef S_IRWXG
|
||||
# define S_IRGRP S_IRUSR
|
||||
# define S_IWGRP S_IWUSR
|
||||
# endif
|
||||
# ifndef S_IRWXO
|
||||
# define S_IROTH S_IRUSR
|
||||
# define S_IWOTH S_IWUSR
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue