diff options
Diffstat (limited to 'utils/ldd.c')
-rw-r--r-- | utils/ldd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/ldd.c b/utils/ldd.c index c56ddc8d5..38138342c 100644 --- a/utils/ldd.c +++ b/utils/ldd.c @@ -127,7 +127,6 @@ #define ELFDATAM ELFDATA2MSB #endif -#define ARRAY_SIZE(v) (sizeof(v) / sizeof(*v)) #define TRUSTED_LDSO UCLIBC_RUNTIME_PREFIX "lib/" UCLIBC_LDSO struct library { @@ -701,9 +700,9 @@ foo: "LD_TRACE_LOADED_OBJECTS=1", NULL }; +#ifdef __LDSO_STANDALONE_SUPPORT__ char * lib_path = getenv("LD_LIBRARY_PATH"); -#ifdef __LDSO_STANDALONE_SUPPORT__ /* The 'extended' environment inclusing the LD_LIBRARY_PATH */ static char *ext_environment[ARRAY_SIZE(environment) + 1]; char **envp = (char **) environment; |