mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 08:41:11 -06:00
Conditional compilation to exclude all Perl/XS stuff from C++ code
This commit is contained in:
parent
e2cb40766b
commit
6e22a82e7d
20 changed files with 133 additions and 87 deletions
|
@ -5,6 +5,7 @@
|
|||
#include <ostream>
|
||||
#include <iostream>
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
extern "C" {
|
||||
#include "EXTERN.h"
|
||||
#include "perl.h"
|
||||
|
@ -13,6 +14,7 @@ extern "C" {
|
|||
#undef do_open
|
||||
#undef do_close
|
||||
}
|
||||
#endif
|
||||
|
||||
#define EPSILON 1e-4
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue