SDK 10.5 compiler Error latest Git missing pthread_setname_n


#1

When i compile with the latest tip for BASE SDK and Deployment Target 10.5. i getting this error:

In file included from juceGit/Builds/MacOSX/…/…/src/native/mac/juce_mac_NativeCode.mm:198:
juceGit/Builds/MacOSX/…/…/src/native/mac/…/common/juce_posix_SharedCode.h: In static member function ‘static void juce::Thread::setCurrentThreadName(const juce::String&)’:
juceGit/Builds/MacOSX/…/…/src/native/mac/…/common/juce_posix_SharedCode.h:748: error: ‘pthread_setname_np’ was not declared in this scope


#2

Damn, is that new?? It’s an old posix function, I assumed it had always been in there. Thanks, I’ll remove it for older SDKs.