diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-01-08 19:23:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-01-08 19:23:54 +0000 |
commit | 3ceb3bcb76545066bad6a85b102944136ca67632 (patch) | |
tree | d8de415d0c9568fb7dc07685902b33684284d9dc /ldso/libdl | |
parent | 3d61a08a41bd7a0e1df08404c49847f3a8a60a24 (diff) |
change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when doing double negatives
Diffstat (limited to 'ldso/libdl')
-rw-r--r-- | ldso/libdl/libdl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c index d21f8a6fd..4538d91e7 100644 --- a/ldso/libdl/libdl.c +++ b/ldso/libdl/libdl.c @@ -447,7 +447,7 @@ void *dlsym(void *vhandle, const char *name) struct dyn_elf *rpnt; void *ret; /* Nastiness to support underscore prefixes. */ -#ifndef __UCLIBC_NO_UNDERSCORES__ +#ifdef __UCLIBC_UNDERSCORES__ char tmp_buf[80]; char *name2 = tmp_buf; size_t nlen = strlen (name) + 1; @@ -508,7 +508,7 @@ void *dlsym(void *vhandle, const char *name) if (!ret) _dl_error_number = LD_NO_SYMBOL; out: -#ifndef __UCLIBC_NO_UNDERSCORES__ +#ifdef __UCLIBC_UNDERSCORES__ if (name2 != tmp_buf) free (name2); #endif |