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:
François Revol 2008-03-14 16:30:52 +00:00
parent d8ebe61203
commit 929c94fe37

View File

@ -58,10 +58,14 @@
/*
* 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;
static int setenv(const char *var, const char *value, bool overwrite);
static int
setenv(const char *var, const char *value, bool overwrite)
{