[Commits] SDL: SDL_qsort in SDL 1.2 needs to use the system includes.

libsdl.org revision control commits-owner at libsdl.org
Wed Mar 30 08:24:14 PDT 2016


details:   https://hg.libsdl.org/SDL/rev/8ab0633c9d43
changeset: 10131:8ab0633c9d43
user:      Ryan C. Gordon <icculus at icculus.org>
date:      Wed Mar 30 11:23:28 2016 -0400
description:
SDL_qsort in SDL 1.2 needs to use the system includes.

diffstat:

 src/stdlib/SDL_qsort.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2f1eb5fa26ea -r 8ab0633c9d43 src/stdlib/SDL_qsort.c
--- a/src/stdlib/SDL_qsort.c	Fri Mar 11 08:30:18 2016 -0800
+++ b/src/stdlib/SDL_qsort.c	Wed Mar 30 11:23:28 2016 -0400
@@ -129,12 +129,12 @@
  *                    comments. No code changes.
  */
 
-/* BEGIN SDL CHANGE ... commented this out with an #if 0 block. --ryan. */
-#if 0
 #include <assert.h>
 #include <stdlib.h>
 #include <string.h>
 
+/* BEGIN SDL CHANGE ... commented this out with an #if 0 block. --ryan. */
+#if 0
 #define DEBUG_QSORT
 
 static char _ID[]="<qsort.c gjm 1.14 2016-02-21>";


More information about the commits mailing list