mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-11 08:40:44 +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;
|
||||
int pthread_spin_init(pthread_spinlock_t *lock, int pshared)
|
||||
{
|
||||
#if !(DEBUG)
|
||||
printf("NSThread.m: Warning this platform does not support spin locks - init.\n");
|
||||
#if DEBUG
|
||||
fprintf(stderr,"NSThread.m: Warning this platform does not support spin locks - init.\n");
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue