From bd955e15e1aac8a1490a680b9f5cfcce29f2331a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 21 May 2008 11:17:31 +0000 Subject: * GCC 4.3.0 (Fedora 9) compatibility fixes. Reported by Gour and Armijn Hemel. --- src/libstore/pathlocks.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore/pathlocks.hh') diff --git a/src/libstore/pathlocks.hh b/src/libstore/pathlocks.hh index 0ca1ce687..8b4100028 100644 --- a/src/libstore/pathlocks.hh +++ b/src/libstore/pathlocks.hh @@ -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); -- cgit v1.2.3