LibC: reorder LOCK_SH and LOCK_EX
Some software im porting has static asserts for these :)
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
__BEGIN_DECLS
|
||||
|
||||
#define LOCK_UN 0
|
||||
#define LOCK_EX 1
|
||||
#define LOCK_SH 2
|
||||
#define LOCK_NB 4
|
||||
#define LOCK_SH 1
|
||||
#define LOCK_EX 2
|
||||
#define LOCK_NB (1 << 2)
|
||||
|
||||
int flock(int fd, int op);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user