From: Peter Kokot Date: Fri, 29 Jun 2018 12:09:59 +0000 (+0200) Subject: Remove unused defines from Windows configure file X-Git-Tag: v6.9.0~64^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4e46152768092b771361e7609604a2b1030dda9;p=onig Remove unused defines from Windows configure file The definitions of the HAVE_ST_RDEV and HAVE_STRUCT_STAT_ST_RDEV would provide checks for the members of the stat struct. Since the st_rdev member is not used in this code these checks can be simplified by removal. --- diff --git a/src/config.h.win32 b/src/config.h.win32 index 7ee9e25..60fe41a 100644 --- a/src/config.h.win32 +++ b/src/config.h.win32 @@ -35,8 +35,6 @@ #define HAVE_MEMORY_H 1 #define uid_t int #define gid_t int -#define HAVE_STRUCT_STAT_ST_RDEV 1 -#define HAVE_ST_RDEV 1 #define GETGROUPS_T int #define RETSIGTYPE void #define HAVE_ALLOCA 1 diff --git a/src/config.h.win64 b/src/config.h.win64 index 33357b9..87615bb 100644 --- a/src/config.h.win64 +++ b/src/config.h.win64 @@ -35,8 +35,6 @@ #define HAVE_MEMORY_H 1 #define uid_t int #define gid_t int -#define HAVE_STRUCT_STAT_ST_RDEV 1 -#define HAVE_ST_RDEV 1 #define GETGROUPS_T int #define RETSIGTYPE void #define HAVE_ALLOCA 1