This should fix R5 BONE build, as it also lacks setenv(), unlike dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24391 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -58,10 +58,14 @@
|
|||||||
/*
|
/*
|
||||||
* Set environment variable.
|
* Set environment variable.
|
||||||
*/
|
*/
|
||||||
#if defined(HAIKU_TARGET_PLATFORM_BEOS) || defined(HAIKU_TARGET_PLATFORM_LIBBE_TEST)
|
#if defined(HAIKU_TARGET_PLATFORM_BEOS) || \
|
||||||
|
defined(HAIKU_TARGET_PLATFORM_BONE) || \
|
||||||
|
defined(HAIKU_TARGET_PLATFORM_LIBBE_TEST)
|
||||||
|
|
||||||
extern char **environ;
|
extern char **environ;
|
||||||
|
|
||||||
|
static int setenv(const char *var, const char *value, bool overwrite);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
setenv(const char *var, const char *value, bool overwrite)
|
setenv(const char *var, const char *value, bool overwrite)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user