mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-26 07:48:42 +00:00
Add HAVE_UNSETENV to preprocessor guard
This commit is contained in:
parent
2d1d3d9fb2
commit
a2a1d2de66
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ int SDL_setenv(const char *name, const char *value, int overwrite)
|
|||
return 0;
|
||||
}
|
||||
/* We have a real environment table, but no real setenv? Fake it w/ putenv. */
|
||||
#elif (defined(HAVE_GETENV) && defined(HAVE_PUTENV) && !defined(HAVE_SETENV))
|
||||
#elif (defined(HAVE_GETENV) && defined(HAVE_PUTENV) && defined(HAVE_UNSETENV) && !defined(HAVE_SETENV))
|
||||
int SDL_setenv(const char *name, const char *value, int overwrite)
|
||||
{
|
||||
size_t len;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue