Skip to content

Commit

Permalink
Fixing compilation issues on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanminko committed Mar 18, 2024
1 parent c0989e9 commit b31ab19
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/map/if/acd/ac_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
#ifndef __ACD_WRAPPER_H_
#define __ACD_WRAPPER_H_

#ifdef _MSC_VER
# include <numeric> // std::iota
# include <intrin.h>
# define __builtin_popcount __popcnt
#endif

#include "misc/util/abc_global.h"
#include "map/if/if.h"

Expand Down

0 comments on commit b31ab19

Please sign in to comment.