Commit cc393524 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Replace macro

parent 445422b4
......@@ -36,7 +36,11 @@
#ifdef __GNU__
#include <sys/file.h>
#define file_lock_set(fd, cmd) flock(fd, cmd)
static int
file_lock_set(int fd, int cmd)
{
return flock(fd, cmd);
}
#else
static int
file_lock_set(int fd, short cmd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment