aboutsummaryrefslogtreecommitdiff
path: root/layers
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-10-27 11:23:21 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-10-27 11:52:46 -0600
commit846132ba8ff33bf9e09d595dc930ff241c985f74 (patch)
tree4e43afb15cb66ff3b10ae36dbeda6abbe9061371 /layers
parent00e1c7d26d2fb9be672eb8ee794c50baa5b55ff7 (diff)
downloadusermoji-846132ba8ff33bf9e09d595dc930ff241c985f74.tar.xz
misc: Add intrin.h to support ffs utility
Diffstat (limited to 'layers')
-rw-r--r--layers/vk_layer_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/layers/vk_layer_utils.h b/layers/vk_layer_utils.h
index 376f81b2..63673c81 100644
--- a/layers/vk_layer_utils.h
+++ b/layers/vk_layer_utils.h
@@ -26,6 +26,8 @@
#include <stdbool.h>
#ifndef WIN32
#include <strings.h> /* for ffs() */
+#else
+#include <intrin.h> /* for __lzcnt() */
#endif
#ifdef __cplusplus