projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66c56cb
)
Include intrin.h in CpuId for the cpuid builtins
author
Christopher Dykes
<cdykes@fb.com>
Thu, 11 Aug 2016 21:35:16 +0000
(14:35 -0700)
committer
Facebook Github Bot 7
<facebook-github-bot-7-bot@fb.com>
Thu, 11 Aug 2016 21:39:07 +0000
(14:39 -0700)
Summary: Some shuffling and elmination of other includes exposed the fact that this was calling the cpuid builtins, but hadn't included the header they were defined in.
Reviewed By: yfeldblum
Differential Revision:
D3704321
fbshipit-source-id:
332c2d22714abaa74090abe7e7a5b28aec6b905a
folly/CpuId.h
patch
|
blob
|
history
diff --git
a/folly/CpuId.h
b/folly/CpuId.h
index fe3d58bb970fac74a1f218fcf11c3142a745cc6e..6957d934402f70c8bee93a10201c5594722c461b 100644
(file)
--- a/
folly/CpuId.h
+++ b/
folly/CpuId.h
@@
-19,6
+19,10
@@
#include <cstdint>
#include <folly/Portability.h>
+#ifdef _MSC_VER
+#include <intrin.h>
+#endif
+
namespace folly {
/**