win: pybind11: workaround for strdup
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
// Copyright 2017, Lorenz Lechner
|
||||
// This program is released under the BSD license. See the file COPYING for details.
|
||||
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define strdup _strdup
|
||||
#endif
|
||||
|
||||
#include "Area.h"
|
||||
#include "Point.h"
|
||||
#include "AreaDxf.h"
|
||||
@@ -13,6 +18,8 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
||||
|
||||
namespace py = pybind11;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user