X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e464c180c4af702efcfb5287aca62a8232155ab1..7d9d1fd7088fb2d9f27da3d4c232029807c4eeb7:/src/xpm/create.c?ds=sidebyside diff --git a/src/xpm/create.c b/src/xpm/create.c index 85537529f3..a667eb8f75 100644 --- a/src/xpm/create.c +++ b/src/xpm/create.c @@ -221,20 +221,15 @@ typedef struct { long closeness; } CloseColor; -#ifdef __OS2__ -/* Visual Age cannot deal with old, non-ansi, code */ +#ifndef FOR_MSW static int closeness_cmp(Const void* a, Const void* b) -#else -static int -closeness_cmp(a, b) - Const void *a, *b; -#endif { CloseColor *x = (CloseColor *) a, *y = (CloseColor *) b; /* cast to int as qsort requires */ return (int) (x->closeness - y->closeness); } +#endif /* default AllocColor function: