Skip to content

Commit c5cc661

Browse files
authored
Merge pull request #3061 from yurivict/master
[FIX] BSD compatibility patch
2 parents 4a8c2eb + 192388c commit c5cc661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orange/classification/_simple_tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ enum { IntVar, FloatVar };
5353
*
5454
*/
5555

56-
#if (defined __APPLE__ || defined __DARWIN__ || defined __BSD__)
56+
#if (defined __APPLE__ || defined __DARWIN__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ || defined __DragonFly__)
5757
#define QSORT_R_STYLE_BSD
5858
#define QSORT_R_FUNC(base, nel, size, thunk, compar) \
5959
qsort_r(base, nel, size, thunk, compar)

0 commit comments

Comments
 (0)