Skip to content
Snippets Groups Projects
Select Git revision
2 results Searching

htslib

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Rob Davies authored
    Netbsd's libc #defines uint16_t to __uint16_t (and similarly for
    other stdint types).  This was expanded by KSORT_INIT_GENERIC()
    resulting in functions being defined with slightly different names
    compared to the ones produced by using KSORT_INIT() directly.
    The names also no longer matched the results of expanding
    ks_mergesort() and friends.
    
    Fix this by adjusting where the underscore gets pasted into the
    names.  This means KSORT_INIT_GENERIC can use the argument
    in a token pasting operation, which prevents it from being
    expanded.
    b49bb2d7
    History
    Name Last commit Last update