mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
(OBJC_STRINGIFY): New macro.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1733 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ab61459ae7
commit
3d1d9a29f3
1 changed files with 5 additions and 0 deletions
|
@ -115,6 +115,11 @@ extern const char o_NeXT_cc_version[];
|
|||
#define XSTRINGIFY(s) #s
|
||||
#endif
|
||||
|
||||
#ifndef OBJC_STRINGIFY
|
||||
#define OBJC_STRINGIFY(s) OBJC_XSTRINGIFY(s)
|
||||
#define OBJC_XSTRINGIFY(s) @#s
|
||||
#endif
|
||||
|
||||
#ifndef PTR2LONG
|
||||
#define PTR2LONG(P) (((char*)(P))-(char*)0)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue