fix 0x0x on Macs (obs from Paulo Moura).
This commit is contained in:
parent
fa9425cd21
commit
aaabdbb9a7
@ -172,9 +172,7 @@ wrputref(CODEADDR ref, int Quote_illegal, wrf writewch) /* writes a data base
|
|||||||
char s[256];
|
char s[256];
|
||||||
|
|
||||||
putAtom(AtomDBref, Quote_illegal, writewch);
|
putAtom(AtomDBref, Quote_illegal, writewch);
|
||||||
#if SHORT_INTS
|
#if defined(__linux__) || defined(__APPLE__)
|
||||||
sprintf(s, "(0x%p,0)", ref);
|
|
||||||
#elif __linux__
|
|
||||||
sprintf(s, "(%p,0)", ref);
|
sprintf(s, "(%p,0)", ref);
|
||||||
#else
|
#else
|
||||||
sprintf(s, "(0x%p,0)", ref);
|
sprintf(s, "(0x%p,0)", ref);
|
||||||
|
Reference in New Issue
Block a user