1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 08:31:16 +02:00

* GCC 4.3.0 (Fedora 9) compatibility fixes. Reported by Gour and

Armijn Hemel.
This commit is contained in:
Eelco Dolstra 2008-05-21 11:17:31 +00:00
parent 9819bb20da
commit bd955e15e1
11 changed files with 18 additions and 3 deletions

View file

@ -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);