sim: ppc: switch to libiberty environ.h

Drop our compat code and assume environ exists to simplify.
We did this for all other targets already, but ppc was missed.
This commit is contained in:
Mike Frysinger 2021-11-06 20:35:52 -04:00
parent e6af0f123a
commit b44c5d6e21

View File

@ -42,14 +42,14 @@
#include <string.h>
#include <errno.h>
#include "environ.h"
#if !defined(O_NONBLOCK) || !defined(F_GETFL) || !defined(F_SETFL)
#undef WITH_STDIO
#define WITH_STDIO DO_USE_STDIO
#endif
extern char **environ;
static psim *simulation = NULL;