mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 12:05:53 +00:00
Fix clang compile
This commit is contained in:
@@ -439,9 +439,16 @@ void Thread::yield()
|
||||
#if BEAST_BSD
|
||||
// ???
|
||||
#elif BEAST_MAC || BEAST_IOS
|
||||
// Compiles fine without prctl.h
|
||||
#include <Foundation/NSThread.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#import <objc/message.h>
|
||||
namespace beast{
|
||||
#include "../../../modules/beast_core/native/osx_ObjCHelpers.h"
|
||||
}
|
||||
|
||||
#else
|
||||
# include <sys/prctl.h>
|
||||
|
||||
#endif
|
||||
|
||||
namespace beast {
|
||||
|
||||
Reference in New Issue
Block a user