mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-12 09:01:05 +00:00
fix obvious DEBUG inversion, spit out warning on stderr
This commit is contained in:
parent
441f13828d
commit
16ef46642b
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@
|
||||||
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)
|
||||||
{
|
{
|
||||||
#if !(DEBUG)
|
#if DEBUG
|
||||||
printf("NSThread.m: Warning this platform does not support spin locks - init.\n");
|
fprintf(stderr,"NSThread.m: Warning this platform does not support spin locks - init.\n");
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue