Skip to content
  • Tanu Kaskinen's avatar
    memfd-wrappers: only define memfd_create() if not already defined · dfb0460f
    Tanu Kaskinen authored
    glibc 2.27 is to be released soon, and it will provide memfd_create().
    If glibc provides the function, we must not define it ourselves,
    otherwise building fails due to conflict between the two implementations
    of the same function.
    
    BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=104733
    dfb0460f