minor tweak in debug for dummy functions that caused crash on Solaris

This commit is contained in:
Riccardo Mottola 2018-08-07 13:01:45 +02:00
parent 586d86c43f
commit d852847893

View file

@ -42,7 +42,9 @@
typedef int pthread_spinlock_t;
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;
}
int pthread_spin_lock(pthread_spinlock_t *lock)