Updates for 10.5 API changes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27962 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-02-23 20:42:32 +00:00
parent 845a701069
commit 24d43481a8
138 changed files with 2094 additions and 1536 deletions

View file

@ -207,12 +207,12 @@ GSSleepUntilIntervalSinceReferenceDate(NSTimeInterval when)
while (delay > 0)
{
#ifdef HAVE_USLEEP
usleep ((int)(delay*1000000));
usleep ((NSInteger)(delay*1000000));
#else
#if defined(__MINGW32__)
Sleep (delay*1000);
#else
sleep ((int)delay);
sleep ((NSInteger)delay);
#endif
#endif
delay = when - GSTimeNow();
@ -826,7 +826,7 @@ pthread_detach(pthread_self());
ASSIGN(_name, aName);
}
- (void) setStackSize: (unsigned)stackSize
- (void) setStackSize: (NSUInteger)stackSize
{
_stackSize = stackSize;
#if !defined(HAVE_SETRLIMIT) || !defined(RLIMIT_STACK)
@ -834,7 +834,7 @@ pthread_detach(pthread_self());
#endif
}
- (unsigned) stackSize
- (NSUInteger) stackSize
{
return _stackSize;
}