win: pybind11: workaround for strdup
This commit is contained in:
@@ -21,6 +21,11 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define strdup _strdup
|
||||
#endif
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#include <Mod/Part/App/TopoShapeFacePy.h>
|
||||
#include <Mod/Part/App/TopoShapeEdgePy.h>
|
||||
@@ -50,6 +55,7 @@
|
||||
#include <ShapeFix_Edge.hxx>
|
||||
|
||||
|
||||
|
||||
namespace py = pybind11;
|
||||
|
||||
const TopoDS_Face& getTopoDSFace(py::object* face)
|
||||
|
||||
Reference in New Issue
Block a user