From 3ff6874658231669e1f1659ad7b6edbbe81eb90e Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 19 Jun 2025 14:07:40 +0200 Subject: [PATCH] Remove HAVE_GETLOGIN from win32/config.w32.h.in template (#18865) PHP once had getlogin() emulation implemented on Windows. This isn't the case anymore since 2006 (dc34d34230ec152abfe27bf492d206a294359320), neither Windows has getlogin() function. --- win32/build/config.w32.h.in | 1 - 1 file changed, 1 deletion(-) diff --git a/win32/build/config.w32.h.in b/win32/build/config.w32.h.in index 40a4264cf39..df69e4622f9 100644 --- a/win32/build/config.w32.h.in +++ b/win32/build/config.w32.h.in @@ -59,7 +59,6 @@ #undef HAVE_STRUCT_STAT_ST_BLKSIZE #undef HAVE_STRUCT_STAT_ST_BLOCKS #define HAVE_STRUCT_STAT_ST_RDEV 1 -#define HAVE_GETLOGIN 1 #define HAVE_SHUTDOWN 1 #define HAVE_STRCASECMP 1 #define HAVE_UTIME 1