diff src/stdlib/SDL_getenv.c @ 1331:1cbaeee565b1

A few fixes to get this building on Linux again
author Sam Lantinga <slouken@libsdl.org>
date Mon, 06 Feb 2006 08:46:14 +0000
parents 450721ad5436
children 3692456e7b0f
line wrap: on
line diff
--- a/src/stdlib/SDL_getenv.c	Mon Feb 06 08:28:51 2006 +0000
+++ b/src/stdlib/SDL_getenv.c	Mon Feb 06 08:46:14 2006 +0000
@@ -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 @@
 
 #endif /* WIN32 */
 
+#endif /* !HAVE_GETENV */
+
 #ifdef TEST_MAIN
 #include <stdio.h>