Meson cleanup
This removes some macro definitions:
-
_REENTRANTand_THREAD_SAFEwere taken from the VLC build system and have since been removed there, so it seems safe to remove those here as well. -
_POSIX_PTHREAD_SEMANTICSis required for POSIX thread flavor of threading functions but instead we can define_POSIX_C_SOURCEto a value higher than199506L, when including<pthread.h>, see https://docs.oracle.com/cd/E19455-01/806-5257/compile-3/index.html -
__EXTENSIONS__is used to enable Solaris extensions, as far as I know we are not using any. -
_FILE_OFFSET_BITSis already defined to 64 by meson -
_ISOC99_SOURCEshould not be required as we do not support compiling with -std c89 -
_ISOC11_SOURCEshould not be required as we set -std c11, so we do not need any C11 extensions to C99 as we already use C11. -
_POSIX_SOURCEis not required as we already set_POSIX_C_SOURCEto a positive integer. -
_XOPEN_SOURCEshould not be needed as we already have_POSIX_C_SOURCE. -
_XOPEN_SOURCE_EXTENDEDshould not be required as we do not need any X/Open Unix extensions to my knowledge. -
_BSD_SOURCEshould not be required as we already set_POSIX_C_SOURCE. -
_SVID_SOURCEshould not be required as we already set_POSIX_C_SOURCE.
A follow-up commit sets _POSIX_C_SOURCE to 200112L to indicate we use POSIX.1–2001.