* GCC 4.3.0 (Fedora 9) compatibility fixes. Reported by Gour and
Armijn Hemel.
This commit is contained in:
		
							parent
							
								
									9819bb20da
								
							
						
					
					
						commit
						bd955e15e1
					
				
					 11 changed files with 18 additions and 3 deletions
				
			
		|  | @ -17,7 +17,7 @@ int openLockFile(const Path & path, bool create); | |||
| void deleteLockFilePreClose(const Path & path, int fd); | ||||
| void deleteLockFilePostClose(const Path & path); | ||||
| 
 | ||||
| typedef enum LockType { ltRead, ltWrite, ltNone }; | ||||
| enum LockType { ltRead, ltWrite, ltNone }; | ||||
| 
 | ||||
| bool lockFile(int fd, LockType lockType, bool wait); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue