[LTP] [PATCH] lapi/io_uring: Add fallback definitions for OP_READ(WRITE)

Sachin Sant sachinp@linux.ibm.com
Tue Apr 21 07:42:12 CEST 2026



On 16/04/26 9:48 pm, Martin Doucha wrote:
> Hi,
> while this patch fixes compilation on older system lacking these 
> constant definitions, the #ifndef macro is incorrect and always true.
>
> The system constants are defined using an enum so they're not directly 
> visible to the C preprocessor. The correct way to check for these two 
> constants is through AC_CHECK_DECLS() in configure.ac.
>

Thanks Martin for the feedback.
For some reason I did not receive this email until today.

I also see that you have already posted an updated patch to mailing list.
Let me know if you want me to send an updated patch based on the
feedback.

-- 
Thanks
- Sachin




More information about the ltp mailing list