Skip to content

Commit 3718a3d

Browse files
committed
fix compilation on musl
this should allow for compilation on musl libc possibly fixes #150
1 parent e82b55f commit 3718a3d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/decode_aprs.c

-4
Original file line numberDiff line numberDiff line change
@@ -4113,11 +4113,7 @@ static void decode_tocall (decode_aprs_t *A, char *dest)
41134113
* models before getting to the more generic APY.
41144114
*/
41154115

4116-
#if defined(__WIN32__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__APPLE__)
41174116
qsort (tocalls, num_tocalls, sizeof(struct tocalls_s), tocall_cmp);
4118-
#else
4119-
qsort (tocalls, num_tocalls, sizeof(struct tocalls_s), (__compar_fn_t)tocall_cmp);
4120-
#endif
41214117
}
41224118
else {
41234119
if ( ! A->g_quiet) {

0 commit comments

Comments
 (0)