We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d68389a commit 26a31fdCopy full SHA for 26a31fd
include/carma_bits/cnalloc.h
@@ -1,6 +1,10 @@
1
#ifndef INCLUDE_CARMA_BITS_CNALLOC_H_
2
#define INCLUDE_CARMA_BITS_CNALLOC_H_
3
4
+// pybind11 include required even if not explicitly used
5
+// to prevent link with pythonXX_d.lib on Win32
6
+// (cf Py_DEBUG defined in numpy headers and https://github.com/pybind/pybind11/issues/1295)
7
+#include <pybind11/pybind11.h>
8
#define NPY_NO_DEPRECATED_API NPY_1_14_API_VERSION
9
#include <numpy/arrayobject.h>
10
#include <numpy/ndarraytypes.h>
0 commit comments