correctly check for setenv() function
git-svn-id: https://svn.musicpd.org/mpd/trunk@4245 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -70,7 +70,7 @@ typedef struct _Options {
|
||||
/*
|
||||
* from git-1.3.0, needed for solaris
|
||||
*/
|
||||
#ifndef setenv
|
||||
#ifndef HAVE_SETENV
|
||||
int setenv(const char *name, const char *value, int replace)
|
||||
{
|
||||
int out;
|
||||
@@ -103,7 +103,7 @@ int setenv(const char *name, const char *value, int replace)
|
||||
|
||||
return out;
|
||||
}
|
||||
#endif
|
||||
#endif /* HAVE_SETENV */
|
||||
|
||||
void usage(char * argv[]) {
|
||||
ERROR("usage:\n");
|
||||
|
||||
Reference in New Issue
Block a user