Skip to content
Commit de18565e authored by Ilya Tagunov's avatar Ilya Tagunov Committed by Anas Nashif
Browse files

lib: libc: arcmwdt: replace the fileno macro



The fileno macro defined in ARC MWDT headers conflicts with the fileno()
function defined in lib/posix/options/device_io.c. We should undefine it
and replace with a POSIX-compliant declaration and a weak definition.

Signed-off-by: default avatarIlya Tagunov <Ilya.Tagunov@synopsys.com>
parent eb4f2fb4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment