mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-12 09:01:05 +00:00
minor tweak in debug for dummy functions that caused crash on Solaris
This commit is contained in:
parent
586d86c43f
commit
d852847893
1 changed files with 3 additions and 1 deletions
|
@ -42,7 +42,9 @@
|
||||||
typedef int pthread_spinlock_t;
|
typedef int pthread_spinlock_t;
|
||||||
int pthread_spin_init(pthread_spinlock_t *lock, int pshared)
|
int pthread_spin_init(pthread_spinlock_t *lock, int pshared)
|
||||||
{
|
{
|
||||||
NSDebugLog(@"NSThread.m: Warning this platform does not support spin locks");
|
#if !(DEBUG)
|
||||||
|
printf("NSThread.m: Warning this platform does not support spin locks - init.\n");
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
int pthread_spin_lock(pthread_spinlock_t *lock)
|
int pthread_spin_lock(pthread_spinlock_t *lock)
|
||||||
|
|
Loading…
Reference in a new issue