Include guard around SupportMaterial so that it isn't built by the Perl side.

This commit is contained in:
Joseph Lenox 2018-07-27 22:08:13 -05:00
parent fe492f818a
commit 0373496baa
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#ifndef SLIC3RXS
#include "SupportMaterial.hpp"
namespace Slic3r
@ -1223,3 +1224,4 @@ SupportMaterial::create_circle(coordf_t radius)
}
}
#endif // SLIC3RXS

View File

@ -1,3 +1,4 @@
#ifndef SLIC3RXS
#ifndef slic3r_SupportMaterial_hpp_
#define slic3r_SupportMaterial_hpp_
@ -166,3 +167,5 @@ private:
}
#endif
#endif // SLIC3RXS