Skip to content
Commit 8ec25be6 authored by Alex Richardson's avatar Alex Richardson Committed by Alex Richardson
Browse files

os-wrappers-test: Handle fcntl() being declared as a macro



On some systems (e.g. FreeBSD with the latest epoll-shim), fcntl is
declared as a macro instead of a function. Wrap the definition here in
parantheses to avoid function-macro expansion.

Signed-off-by: default avatarAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
parent bf98c1a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment