src/stdlib/SDL_qsort.c
changeset 7351 668a3dc28361
parent 7003 eeaf77005c30
child 8093 b43765095a6f
     1.1 --- a/src/stdlib/SDL_qsort.c	Fri Jul 05 21:37:27 2013 -0700
     1.2 +++ b/src/stdlib/SDL_qsort.c	Fri Jul 05 23:57:19 2013 -0700
     1.3 @@ -51,12 +51,11 @@
     1.4  #include "SDL_stdinc.h"
     1.5  #include "SDL_assert.h"
     1.6  
     1.7 -#ifdef SDL_qsort
     1.8 -#undef SDL_qsort
     1.9 +#if defined(HAVE_QSORT)
    1.10  void
    1.11  SDL_qsort(void *base, size_t nmemb, size_t size, int (*compare) (const void *, const void *))
    1.12  {
    1.13 -    SDL_qsort_inline(base, nmemb, size, compare);
    1.14 +    qsort(base, nmemb, size, compare);
    1.15  }
    1.16  #else
    1.17