mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Compilation fix
This commit is contained in:
parent
ba8ca0e384
commit
d53b44273c
@ -25,6 +25,7 @@
|
||||
#include "support/lstrings.h"
|
||||
#include "support/lyxalgo.h"
|
||||
|
||||
#include <algorithm> // sort, lower_bound
|
||||
#include <functional>
|
||||
#include <fstream>
|
||||
#include <istream>
|
||||
|
@ -13,11 +13,23 @@
|
||||
#define LYX_ANY_H
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
#include <any>
|
||||
namespace lyx { using std::any; }
|
||||
|
||||
#include <any>
|
||||
|
||||
namespace lyx {
|
||||
using std::any;
|
||||
using std::any_cast;
|
||||
}
|
||||
|
||||
#else
|
||||
#include <boost/any.hpp>
|
||||
namespace lyx { using boost::any; }
|
||||
#endif
|
||||
|
||||
#include <boost/any.hpp>
|
||||
|
||||
namespace lyx {
|
||||
using boost::any;
|
||||
using boost::any_cast;
|
||||
}
|
||||
|
||||
#endif // __cplusplus >= 201703L
|
||||
|
||||
#endif // LYX_ANY_H
|
||||
|
Loading…
Reference in New Issue
Block a user