summaryrefslogtreecommitdiff
path: root/lib/count-one-bits.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/count-one-bits.c')
-rw-r--r--lib/count-one-bits.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/count-one-bits.c b/lib/count-one-bits.c
new file mode 100644
index 00000000000..66341d77cda
--- /dev/null
+++ b/lib/count-one-bits.c
@@ -0,0 +1,7 @@
+#include <config.h>
+#define COUNT_ONE_BITS_INLINE _GL_EXTERN_INLINE
+#include "count-one-bits.h"
+
+#if 1500 <= _MSC_VER && (defined _M_IX86 || defined _M_X64)
+int popcount_support = -1;
+#endif