From 634a89c7082538e9521a97e5e92126090b68645c Mon Sep 17 00:00:00 2001 From: Thomas Munro Date: Sat, 23 Jul 2022 16:54:00 +1200 Subject: Remove configure probe for wctype.h. This header is present in SUSv2 and Windows. Also remove the inclusion of , following clues that it was only included for the benefit of historical systems that didn't have . Reviewed-by: Tom Lane Discussion: https://postgr.es/m/CA%2BhUKGKAmTgbg_hMiGG5T7pkpzOnY1cWFAHYtZXHCpqeC_hCkA%40mail.gmail.com --- src/backend/utils/adt/formatting.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/backend/utils/adt/formatting.c') diff --git a/src/backend/utils/adt/formatting.c b/src/backend/utils/adt/formatting.c index e909c1a200c..6f8734a947d 100644 --- a/src/backend/utils/adt/formatting.c +++ b/src/backend/utils/adt/formatting.c @@ -69,15 +69,7 @@ #include #include #include - -/* - * towlower() and friends should be in , but some pre-C99 systems - * declare them in , so include that too. - */ -#include -#ifdef HAVE_WCTYPE_H #include -#endif #ifdef USE_ICU #include -- cgit v1.2.3