Compilation problem.

This commit is contained in:
Alan Mishchenko 2024-11-10 19:30:24 -08:00
parent f2e4ceb0e3
commit b5a76d8ba3
1 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,11 @@
#define inline __inline // compatible with MS VS 6.0
#endif
#ifdef _MSC_VER
# include <intrin.h>
# define __builtin_popcount __popcnt
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>