[LTP] [PATCH 1/3] lapi/fcntl.h: Fix O_DIRECT definition for various archs
Petr Vorel
pvorel@suse.cz
Wed Jun 28 16:57:28 CEST 2023
Hi Cyril,
> Hi!
> > I have no problem to remove O_DIRECT. The only question is what to do if we need
> > it in the library one day. Will we be ok that whole LTP becaume _GNU_SOURCE due
> > that?
> Nothing stops us from adding _GNU_SOURCE into a lib/foo.c if that is
> ever needed.
You're right, now I wonder why I didn't realize that it does not have to be
added to header file, just to C file :). Thanks!
Kind regards,
Petr
More information about the ltp
mailing list