mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-30 00:04:49 -04:00 
			
		
		
		
	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" | ||||
| 
 | ||||
| #ifdef HAVE_USELOCALE | ||||
| locale_t	ecpg_clocale; | ||||
| locale_t	ecpg_clocale = (locale_t) 0; | ||||
| #endif | ||||
| 
 | ||||
| #ifdef ENABLE_THREAD_SAFETY | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user