Changeset 0535f5 in git for kernel


Ignore:
Timestamp:
Jun 15, 2022, 8:20:36 PM (2 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
42508a65c1259715b7a469e0de7504154b878f38
Parents:
f310c1ab923e20456d0f7eacc446c4f8b7eb8f82
Message:
fix: qsort_r for BSD (Free-,Net-,Open-, Mac)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/combinatorics/hilb.cc

    rf310c1 r0535f5  
    17141714}
    17151715
    1716 #ifdef __APPLE__
     1716#if defined(__APPLE__) || defined(__FreeBSD__) && defined(__OpenBSD__) && defined(__NetBSD__
    17171717static int compare_rp(void *arg,const void *pp1, const void *pp2)
    17181718#else
     
    18671867   /* sort */
    18681868  if (IDELEMS(AA)>1)
    1869   #ifdef __APPLE__
     1869  #if defined(__APPLE__) || defined(__FreeBSD__) && defined(__OpenBSD__) && defined(__NetBSD__
    18701870    qsort_r(AA->m,IDELEMS(AA),sizeof(poly),src,compare_rp);
    18711871  #else
Note: See TracChangeset for help on using the changeset viewer.