mirror of
https://github.com/postgres/postgres.git
synced 2025-08-31 17:02:12 +03:00
Simplify checking for xlocale.h
Instead of XXX_IN_XLOCALE_H for several features XXX, let's just include <xlocale.h> if HAVE_XLOCALE_H. The reason for the extra complication was apparently that some old glibc systems also had an <xlocale.h>, and you weren't supposed to include it directly, but it's gone now (as far as I can tell it was harmless to do so anyway). Author: Thomas Munro <thomas.munro@gmail.com> Discussion: https://postgr.es/m/CWZBBRR6YA8D.8EHMDRGLCKCD%40neon.tech
This commit is contained in:
@@ -13,9 +13,6 @@
|
||||
#ifndef CHAR_BIT
|
||||
#include <limits.h>
|
||||
#endif
|
||||
#ifdef LOCALE_T_IN_XLOCALE
|
||||
#include <xlocale.h>
|
||||
#endif
|
||||
|
||||
enum COMPAT_MODE
|
||||
{
|
||||
|
Reference in New Issue
Block a user