libavutil: Don't use fcntl if the function does not exist
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Wed, 7 Aug 2013 23:44:37 +0000 (19:44 -0400)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 8 Aug 2013 09:10:33 +0000 (11:10 +0200)
commit87e8cbf70931b789efc04c978082fc5181a51a26
tree05ed7ee62983f68e1706412d22114186879af4bc
parent5f38317e59bdea80e2bb66389b250b985344ebdc
libavutil: Don't use fcntl if the function does not exist

Not all platforms have the function.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
libavutil/file.c