mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
Add support for Solaris/x86 (bug #3064)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#ifdef SOLARIS
|
||||
#include <solaris-compat/compat.h>
|
||||
#endif
|
||||
|
||||
char* strsep(char** str, const char* delims)
|
||||
{
|
||||
@@ -142,3 +145,9 @@ int setenv(const char *name, const char *value, int overwrite)
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
int unsetenv(const char *name)
|
||||
{
|
||||
setenv(name,"",0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user