Skip to content
  • Nirbheek Chauhan's avatar
    meson: Always define _GNU_SOURCE for pthread checks · 4c468690
    Nirbheek Chauhan authored
    Without this, GNU-specific symbols won't be defined and the compiler
    check will pass because GCC will assume that you know what you're
    doing since it doesn't know what the symbol prototype is and compiler
    checks aren't built with -Wall -Werror.
    
    This will then cause a build failure because the wrong prototype will
    be used.
    4c468690