win: pybind11: workaround for strdup

This commit is contained in:
looooo
2018-02-14 17:16:48 +01:00
committed by wmayer
parent ae6512500b
commit 088b2687ea
3 changed files with 18 additions and 7 deletions

View File

@@ -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)