Skip to content

Commit

Permalink
Merge pull request #25755 from charris/backport-25709
Browse files Browse the repository at this point in the history
MAINT: Include header defining backtrace
  • Loading branch information
charris committed Feb 3, 2024
2 parents 837cd38 + 659be68 commit f62dfc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions numpy/core/src/multiarray/temp_elide.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
*/

#if defined HAVE_BACKTRACE && defined HAVE_DLFCN_H && ! defined PYPY_VERSION

#include <feature_detection_misc.h>

/* 1 prints elided operations, 2 prints stacktraces */
#define NPY_ELIDE_DEBUG 0
#define NPY_MAX_STACKSIZE 10
Expand Down

0 comments on commit f62dfc6

Please sign in to comment.