(STRINGIFY): New macro defined, if not defined already.

(XSTRINGIFY): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1017 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1996-03-01 15:57:32 +00:00
parent 7edf52aaa0
commit 164ab2393e
3 changed files with 15 additions and 0 deletions

View file

@ -103,6 +103,11 @@ LAMBDA(BOOL, (id _o), {if ([_o perform:SELECTOR]) return YES; else return NO;})
_a < _b ? _a : _b; })
#endif
#ifndef STRINGIFY
#define STRINGIFY(s) XSTRINGIFY(s)
#define XSTRINGIFY(s) #s
#endif
#ifndef PTR2LONG
#define PTR2LONG(P) (((char*)(P))-(char*)0)
#endif