From 97cf1fa4ed57cc1ed556ac4f827e7df8538f2d29 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 21 Feb 2020 14:11:39 -0500 Subject: Assume that we have . Windows has this, and so do all other live platforms according to the buildfarm; it's been required by POSIX since SUSv2. So remove the configure probe and tests of HAVE_WCHAR_H. This is part of a series of commits to get rid of no-longer-relevant configure checks and dead src/port/ code. I'm committing them separately to make it easier to back out individual changes if they prove less portable than I expect. Discussion: https://postgr.es/m/15379.1582221614@sss.pgh.pa.us --- src/include/regex/regcustom.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/include/regex') diff --git a/src/include/regex/regcustom.h b/src/include/regex/regcustom.h index 82c9e2fad81..100c52d640f 100644 --- a/src/include/regex/regcustom.h +++ b/src/include/regex/regcustom.h @@ -43,11 +43,9 @@ /* * towlower() and friends should be in , but some pre-C99 systems - * declare them in . + * declare them in , so include that too. */ -#ifdef HAVE_WCHAR_H #include -#endif #ifdef HAVE_WCTYPE_H #include #endif -- cgit v1.2.3