Skip to content

Commit

Permalink
Merge pull request #2479 from ales-erjavec/simple-tree-mingw32
Browse files Browse the repository at this point in the history
[FIX] simple_tree.c: Fix mingw compiler compatibility
  • Loading branch information
thocevar authored Jul 21, 2017
2 parents 62e4873 + 87d70a7 commit 11de443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Orange/classification/_simple_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ enum { IntVar, FloatVar };
#define QSORT_R_STYLE_GNU
#define QSORT_R_FUNC(base, nel, size, thunk, compar) \
qsort_r(base, nel, size, compar, thunk)
#elif (defined _MSC_VER)
#elif (defined _MSC_VER || defined __MINGW32__)
#define QSORT_R_STYLE_MSVC
#define QSORT_R_FUNC(base, nel, size, thunk, compar) \
qsort_s(base, nel, size, compar, thunk)
Expand Down

0 comments on commit 11de443

Please sign in to comment.