From a71f962f749a5e5f31183d2d68b5c0cd074e7129 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Thu, 26 Feb 2015 18:42:45 +0000 Subject: [PATCH] [literal_cost.cc] include fast_log.h to use defined log2 function --- enc/literal_cost.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/enc/literal_cost.cc b/enc/literal_cost.cc index 50d9754..bf382cd 100644 --- a/enc/literal_cost.cc +++ b/enc/literal_cost.cc @@ -16,6 +16,10 @@ #include "./literal_cost.h" +#if defined(_MSC_VER) && _MSC_VER <= 1600 +#include "./fast_log.h" +#endif + #include #include #include