mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 00:59:15 +08:00
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:
@ -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;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user