Skip to content
  • Kamil Rytarowski's avatar
    Make vlc_common.h compatible with NetBSD · 535aed6b
    Kamil Rytarowski authored and Thomas Guillem's avatar Thomas Guillem committed
    
    
    Disable calls that are already handled by the NetBSD libc:
     - popcount(3)
     - popcountll(3)
     - bswap16(3)
     - bswap32(3)
     - bswap64(3)
    
    These functions were renamed to vlc_* in HEAD (vlc-4.x) and since
    they are set in stone in the stable releases use ifdef NetBSD here.
    
    This corrects fatal build issues reported on NetBSD.
    
    Signed-off-by: default avatarThomas Guillem <thomas@gllm.fr>
    535aed6b