Using #undef for _XOPEN_SOURCE