Windows ifdef

pull/38/head
biagio montesano 11 years ago
parent 0df499115b
commit 20b8bb4a2c
  1. 6
      modules/line_descriptor/include/opencv2/line_descriptor/bitops.hpp

@ -43,9 +43,15 @@
#ifndef __OPENCV_BITOPTS_HPP
#define __OPENCV_BITOPTS_HPP
#ifdef __MSC_VER
# include <intrin.h>
# define popcnt __popcnt
# define popcntll __popcount64
#else
# define popcntll __builtin_popcountll
# define popcnt __builtin_popcount
#endif
/* LUT */
const int lookup[] =

Loading…
Cancel
Save