aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2024-08-13 23:42:58 +1200
committerThomas Munro <tmunro@postgresql.org>2024-08-13 23:43:04 +1200
commit2488058dc356a43455b21a099ea879fff9266634 (patch)
tree7dff72de029d4054c7fde07d9bc03335a814a867
parent52ea7f0e0545e8b7e5f28cceddadbfb184f41a4f (diff)
downloadpostgresql-2488058dc356a43455b21a099ea879fff9266634.tar.gz
postgresql-2488058dc356a43455b21a099ea879fff9266634.zip
Include <xlocale.h> for macOS, take II.
Fix typo in macro name. Discussion: https://postgr.es/m/CA%2BhUKG%2Bk-o3N_SyNJNJpAcdtMo_HheN30miAeXehk9yw%3D9WYzA%40mail.gmail.com
-rw-r--r--src/port/chklocale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/chklocale.c b/src/port/chklocale.c
index dc2279179af..99e27ed6de5 100644
--- a/src/port/chklocale.c
+++ b/src/port/chklocale.c
@@ -23,7 +23,7 @@
#include <langinfo.h>
#endif
-#ifdef LOCALE_T_IN_XLOCALE_H
+#ifdef LOCALE_T_IN_XLOCALE
#include <xlocale.h>
#endif