Fix previous commit's ecpg_clocale for ppc Darwin.
Per buildfarm member prairiedog, this platform rejects uninitialized global variables in shared libraries. Back-patch to v10, like the addition of the variable. Reviewed by Tom Lane. Discussion: https://postgr.es/m/20220703030619.GB2378460@rfd.leadboat.com
This commit is contained in:
parent
5633836ef3
commit
e2bc242833
@ -11,7 +11,7 @@
|
|||||||
#include "sqlca.h"
|
#include "sqlca.h"
|
||||||
|
|
||||||
#ifdef HAVE_USELOCALE
|
#ifdef HAVE_USELOCALE
|
||||||
locale_t ecpg_clocale;
|
locale_t ecpg_clocale = (locale_t) 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_THREAD_SAFETY
|
#ifdef ENABLE_THREAD_SAFETY
|
||||||
|
Loading…
x
Reference in New Issue
Block a user