diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-27 11:23:21 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-27 11:52:46 -0600 |
| commit | 846132ba8ff33bf9e09d595dc930ff241c985f74 (patch) | |
| tree | 4e43afb15cb66ff3b10ae36dbeda6abbe9061371 | |
| parent | 00e1c7d26d2fb9be672eb8ee794c50baa5b55ff7 (diff) | |
| download | usermoji-846132ba8ff33bf9e09d595dc930ff241c985f74.tar.xz | |
misc: Add intrin.h to support ffs utility
| -rw-r--r-- | layers/vk_layer_utils.h | 2 |
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 |
