# [PATCH 07/12] config.mak.uname: add HAVE_GETDELIM to the cygwin section

1 messages from 2025-03-15 to 2025-03-15. Participants: Ramsay Jones.
Thread: https://gitlist.dev/t/63124

## Ramsay Jones, 2025-03-15 02:47

Subject: [PATCH 07/12] config.mak.uname: add HAVE_GETDELIM to the cygwin section
Message-ID: <a415eb92-bad2-491e-99e1-1b28b9ce73a4@ramsayjones.plus.com>
URL: https://gitlist.dev/e/a415eb92-bad2-491e-99e1-1b28b9ce73a4%40ramsayjones.plus.com

```

Cygwin has provided the getdelim() function as far back as (at least)
2011. The autoconf and meson builds enable the use of this symbol.
In order to have the same configuration for autoconf, meson and make,
enable the HAVE_GETDELIM build variable in the cygwin section of the
config.mak.uname file.

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---
 config.mak.uname | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config.mak.uname b/config.mak.uname
index b6adce0bc4..1b3ba8a341 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -250,6 +250,7 @@ ifeq ($(uname_O),Cygwin)
                 endif
         endif
 	HAVE_DEV_TTY = YesPlease
+	HAVE_GETDELIM = YesPlease
 	HAVE_ALLOCA_H = YesPlease
 	NEEDS_LIBICONV = YesPlease
 	NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes
-- 
2.49.0

```
