Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
1330:450721ad5436 | 1331:1cbaeee565b1 |
---|---|
21 */ | 21 */ |
22 | 22 |
23 #include "SDL_stdlib.h" | 23 #include "SDL_stdlib.h" |
24 #include "SDL_string.h" | 24 #include "SDL_string.h" |
25 | 25 |
26 #ifndef HAVE_GETENV | |
26 | 27 |
27 #if defined(WIN32) && !defined(_WIN32_WCE) | 28 #if defined(WIN32) && !defined(_WIN32_WCE) |
28 | 29 |
29 #include "SDL_windows.h" | 30 #include "SDL_windows.h" |
30 #include "SDL_string.h" | 31 #include "SDL_string.h" |
171 return value; | 172 return value; |
172 } | 173 } |
173 | 174 |
174 #endif /* WIN32 */ | 175 #endif /* WIN32 */ |
175 | 176 |
177 #endif /* !HAVE_GETENV */ | |
178 | |
176 #ifdef TEST_MAIN | 179 #ifdef TEST_MAIN |
177 #include <stdio.h> | 180 #include <stdio.h> |
178 | 181 |
179 int main(int argc, char *argv[]) | 182 int main(int argc, char *argv[]) |
180 { | 183 { |