Skip to content

Commit ba9377e

Browse files
petereCommitfest Bot
authored and
Commitfest Bot
committed
Fixup: fix compiler warnings if LC_C_LOCALE exists
1 parent 586fdb0 commit ba9377e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/port/locale.c

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
#include "c.h"
1818

19+
#ifndef LC_C_LOCALE
20+
1921
#ifndef WIN32
2022
#include <pthread.h>
2123
#else
@@ -78,3 +80,5 @@ pg_get_c_locale(void)
7880

7981
return c_locale;
8082
}
83+
84+
#endif /* not LC_C_LOCALE */

0 commit comments

Comments
 (0)