Improve MacOS-X compatibility of headers.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25638 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2007-11-29 20:53:26 +00:00
parent 77bd4a2b4f
commit 3aa7189ddb
72 changed files with 537 additions and 429 deletions

View file

@ -856,11 +856,11 @@ GSDebugMethodMsg(id obj, SEL sel, const char *file, int line, NSString *fmt)
unsigned NSCountFrames(void)
{
unsigned x = 0;
unsigned x = 0;
while (NSFrameAddress(x + 1)) x++;
while (NSFrameAddress(x + 1)) x++;
return x;
return x;
}
#define _NS_FRAME_HACK(a) case a: val = __builtin_frame_address(a + 1); break;