[LTP] [PATCH v2] mremap07.c: New case check mremap with MREMAP_DONTUNMAP

Petr Vorel pvorel@suse.cz
Thu Oct 30 20:39:52 CET 2025


Hi Wei,

...
> > And please use #ifdef.
> When MREMAP_DONTUNMAP can not be found config.h will contain:
> #define HAVE_DECL_MREMAP_DONTUNMAP 0

> So i suppose we should use #if instead of #ifdef otherwise compile issue
> will happen on old platform.

Indeed declarations are really defined (instead of commented out undef).
I'm sorry for a wrong hint.

Kind regards,
Petr

> If you agree then i will prepare new patch.
> Thanks.

> > Kind regards,
> > Petr


More information about the ltp mailing list