src/stdlib/SDL_qsort.c
branchSDL-1.2
changeset 4186 5bacec0933f5
parent 1456 84de7511f79f
child 10086 2e3396e62aa6
equal deleted inserted replaced
4185:cb2d5514efb3 4186:5bacec0933f5
    48 #include <stdlib.h>
    48 #include <stdlib.h>
    49 #include <string.h>
    49 #include <string.h>
    50 */
    50 */
    51 #include "SDL_stdinc.h"
    51 #include "SDL_stdinc.h"
    52 
    52 
       
    53 #ifdef assert
       
    54 #undef assert
       
    55 #endif
    53 #define assert(X)
    56 #define assert(X)
       
    57 #ifdef malloc
       
    58 #undef malloc
       
    59 #endif
    54 #define malloc	SDL_malloc
    60 #define malloc	SDL_malloc
       
    61 #ifdef free
       
    62 #undef free
       
    63 #endif
    55 #define free	SDL_free
    64 #define free	SDL_free
       
    65 #ifdef memcpy
       
    66 #undef memcpy
       
    67 #endif
    56 #define memcpy	SDL_memcpy
    68 #define memcpy	SDL_memcpy
       
    69 #ifdef memmove
       
    70 #undef memmove
       
    71 #endif
    57 #define memmove	SDL_memmove
    72 #define memmove	SDL_memmove
       
    73 #ifdef qsort
       
    74 #undef qsort
       
    75 #endif
    58 #define qsort	SDL_qsort
    76 #define qsort	SDL_qsort
    59 
    77 
    60 
    78 
    61 #ifndef HAVE_QSORT
    79 #ifndef HAVE_QSORT
    62 
    80