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:
Mark Spencer
2005-03-17 23:12:15 +00:00
parent 4c4264a448
commit f9cfe60312
14 changed files with 69 additions and 22 deletions

View File

@@ -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);
}