diff options
author | Thomas Munro <tmunro@postgresql.org> | 2022-07-23 16:54:00 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2022-07-23 16:54:00 +1200 |
commit | 634a89c7082538e9521a97e5e92126090b68645c (patch) | |
tree | 70da70313d7f4f2cf291bbff2cb01c5c87a845b5 /src/backend/utils/adt/formatting.c | |
parent | a3b8d2a997ab6e8d982495753013c440b32929ba (diff) |
Remove configure probe for wctype.h.
This header is present in SUSv2 and Windows.
Also remove the inclusion of <wchar.h>, following clues that it was only
included for the benefit of historical systems that didn't have
<wctype.h>.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CA%2BhUKGKAmTgbg_hMiGG5T7pkpzOnY1cWFAHYtZXHCpqeC_hCkA%40mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/formatting.c')
-rw-r--r-- | src/backend/utils/adt/formatting.c | 8 |
1 files changed, 0 insertions, 8 deletions
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 <math.h> #include <float.h> #include <limits.h> - -/* - * towlower() and friends should be in <wctype.h>, but some pre-C99 systems - * declare them in <wchar.h>, so include that too. - */ -#include <wchar.h> -#ifdef HAVE_WCTYPE_H #include <wctype.h> -#endif #ifdef USE_ICU #include <unicode/ustring.h> |