mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
Fix Clipper2 build with GCC13
This commit is contained in:
parent
fbe776aaaa
commit
2bca1fc9f3
2 changed files with 93 additions and 88 deletions
|
@ -17,6 +17,8 @@ constexpr auto CLIPPER2_VERSION = "1.0.6";
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
#include <cstddef>
|
||||||
|
#include <cstdint>
|
||||||
#include "clipper.core.h"
|
#include "clipper.core.h"
|
||||||
|
|
||||||
namespace Clipper2Lib {
|
namespace Clipper2Lib {
|
||||||
|
|
|
@ -15,6 +15,9 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "clipper2/clipper.engine.h"
|
#include "clipper2/clipper.engine.h"
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
namespace Clipper2Lib {
|
namespace Clipper2Lib {
|
||||||
|
|
||||||
static const double FloatingPointTolerance = 1.0e-12;
|
static const double FloatingPointTolerance = 1.0e-12;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue