mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-04 00:02:52 -05:00 
			
		
		
		
	Looks like we can't declare getpeereid on Windows anyway.
... for lack of the uid_t and gid_t typedefs. Per buildfarm.
This commit is contained in:
		
							parent
							
								
									2021c5a53a
								
							
						
					
					
						commit
						680ea6a6df
					
				@ -395,7 +395,7 @@ extern void srand48(long seed);
 | 
			
		||||
extern int	getopt(int nargc, char *const * nargv, const char *ostr);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef HAVE_GETPEEREID
 | 
			
		||||
#if !defined(HAVE_GETPEEREID) && !defined(WIN32)
 | 
			
		||||
extern int	getpeereid(int sock, uid_t *uid, gid_t *gid);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user