Browse Source

Fix #272.

pull/273/head
EinMByte 9 years ago
parent
commit
68cf69fabc
  1. 2
      core/util/util.cpp
  2. 2
      core/util/util.h

2
core/util/util.cpp

@ -1,3 +1,4 @@
#include "util.h"
#include <cstdlib> #include <cstdlib>
#include <string> #include <string>
#include <algorithm> #include <algorithm>
@ -12,7 +13,6 @@
#include <boost/program_options/detail/config_file.hpp> #include <boost/program_options/detail/config_file.hpp>
#include <boost/program_options/parsers.hpp> #include <boost/program_options/parsers.hpp>
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
#include "util.h"
#include "Log.h" #include "Log.h"
#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) || defined(__OpenBSD__) #if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) || defined(__OpenBSD__)

2
core/util/util.h

@ -1,6 +1,8 @@
#ifndef UTIL_H #ifndef UTIL_H
#define UTIL_H #define UTIL_H
#define BOOST_NO_CXX11_SCOPED_ENUMS // Workaround for issue #272
#include <map> #include <map>
#include <string> #include <string>
#include <iostream> #include <iostream>

Loading…
Cancel
Save