In -portable, defines.h ensures that these are defined, so redefining potentially causes a warning. We don't just delete it to make any future code syncs a little but easier. bz#3293.
This fixes builds on platforms that don't have it (at least old DragonFly, probably others).