mirror of
https://github.com/yawut/SDL.git
synced 2026-09-07 08:36:19 -05:00
A few fixes to get this building on Linux again
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -67,4 +67,4 @@ void _aullshr()
|
||||
|
||||
#endif /* MSC_VER */
|
||||
|
||||
#endif /* !HAVE_LIBC */
|
||||
#endif /* !HAVE_LIBC */
|
||||
|
||||
Reference in New Issue
Block a user