mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	core: Fix warning on non-win32 builds
This commit is contained in:
		
							parent
							
								
									a423ee0f3d
								
							
						
					
					
						commit
						6fe3bfe6df
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -415,9 +415,11 @@ ssize_t pa_write(int fd, const void *buf, size_t count, int *type) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!type || *type == 0) {
 | 
					    if (!type || *type == 0) {
 | 
				
			||||||
        ssize_t r;
 | 
					        ssize_t r;
 | 
				
			||||||
 | 
					#ifdef OS_IS_WIN32
 | 
				
			||||||
        int err;
 | 
					        int err;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
retry:
 | 
					retry:
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
        for (;;) {
 | 
					        for (;;) {
 | 
				
			||||||
            if ((r = send(fd, buf, count, MSG_NOSIGNAL)) < 0) {
 | 
					            if ((r = send(fd, buf, count, MSG_NOSIGNAL)) < 0) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue