projects
/
platform
/
upstream
/
armnn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a3db79
)
Fix mac build breaks
author
Keith Mok
<ek9852@gmail.com>
Sun, 20 Dec 2020 08:05:14 +0000
(
00:05
-0800)
committer
Keith Mok
<ek9852@gmail.com>
Thu, 7 Jan 2021 22:57:38 +0000
(14:57 -0800)
Signed-off-by: Keith Mok <ek9852@gmail.com>
Change-Id: I4b2926342bbf8621f7b7f5695cf1526dd7281bef
src/armnnUtils/Threads.cpp
patch
|
blob
|
history
diff --git
a/src/armnnUtils/Threads.cpp
b/src/armnnUtils/Threads.cpp
index
64a8481
..
e5cf276
100644
(file)
--- a/
src/armnnUtils/Threads.cpp
+++ b/
src/armnnUtils/Threads.cpp
@@
-13,6
+13,7
@@
#include <common/include/WindowsWrapper.hpp>
#elif defined(__APPLE__)
#include "AvailabilityMacros.h"
+#include <pthread.h>
#include <sys/syscall.h>
#include <sys/time.h>
#include <unistd.h>
@@
-36,7
+37,7
@@
int GetCurrentThreadId()
{
return 0;
}
- return
threadId
;
+ return
static_cast<int>(threadId)
;
#endif
}