src/stdlib/SDL_getenv.c
changeset 1331 1cbaeee565b1
parent 1330 450721ad5436
child 1336 3692456e7b0f
--- 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>