A few fixes to get this building on Linux again

This commit is contained in:
Sam Lantinga
2006-02-06 08:46:14 +00:00
parent 82bfaee73a
commit f62242e296
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 */