parens around macro value. (oops!)
This commit is contained in:
parent
c3b56cd6af
commit
2ea81b29dd
@ -45,7 +45,7 @@ struct relocation_info *textrel, *datarel;
|
||||
struct nlist *symbase;
|
||||
|
||||
|
||||
#define SYMSTR(sp) &strbase[(sp)->n_un.n_strx]
|
||||
#define SYMSTR(sp) (&strbase[(sp)->n_un.n_strx])
|
||||
|
||||
/* is the symbol a global symbol defined in the current file? */
|
||||
#define IS_GLOBAL_DEFINED(sp) \
|
||||
|
@ -45,7 +45,7 @@ struct relocation_info *textrel, *datarel;
|
||||
struct nlist *symbase;
|
||||
|
||||
|
||||
#define SYMSTR(sp) &strbase[(sp)->n_un.n_strx]
|
||||
#define SYMSTR(sp) (&strbase[(sp)->n_un.n_strx])
|
||||
|
||||
/* is the symbol a global symbol defined in the current file? */
|
||||
#define IS_GLOBAL_DEFINED(sp) \
|
||||
|
Loading…
Reference in New Issue
Block a user