summaryrefslogtreecommitdiff
path: root/src/nonstd/ftrylockfile.c
blob: 61636a7e5282b8eec0a649de9c39695060e0a73d (plain)
1
2
3
4
5
#include <nonstd/io.h>

#if !(defined _POSIX_C_SOURCE && 199506L <= _POSIX_C_SOURCE) && !(defined _XOPEN_SOURCE && 500 <= _XOPEN_SOURCE)
#define ftrylockfile(f) (void)(f), 0
#endif