A few fixes to get this building on Linux again

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401335
This commit is contained in:
Sam Lantinga 2006-02-06 08:46:14 +00:00
parent 6c3f928cd8
commit ed90299388
5 changed files with 21 additions and 2 deletions

View file

@ -23,6 +23,7 @@
#include "SDL_stdlib.h"
#include "SDL_string.h"
#ifndef HAVE_GETENV
#if defined(WIN32) && !defined(_WIN32_WCE)
@ -173,6 +174,8 @@ char *SDL_getenv(const char *name)
#endif /* WIN32 */
#endif /* !HAVE_GETENV */
#ifdef TEST_MAIN
#include <stdio.h>

View file

@ -415,4 +415,4 @@ void SDL_qsort(void *base, size_t nmemb, size_t size,
qsort_words(base,nmemb,compare);
}
#endif /* !HAVE_QSORT */
#endif /* !HAVE_QSORT */

View file

@ -67,4 +67,4 @@ void _aullshr()
#endif /* MSC_VER */
#endif /* !HAVE_LIBC */
#endif /* !HAVE_LIBC */