Skip to content

Commit

Permalink
trying to properly configure for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
lnkuiper committed Aug 8, 2024
1 parent bffce7f commit 5cdab1c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
* _malloc_thread_cleanup() exists, use it as the basis for thread cleanup in
* malloc_tsd.
*/
#if defined(__FreeBSD__) || defined(__APPLE__)
#if defined(__FreeBSD__)
#define JEMALLOC_MALLOC_THREAD_CLEANUP
#endif

Expand Down Expand Up @@ -517,6 +517,9 @@
#define JEMALLOC_HAVE_SCHED_SETAFFINITY
#endif

/* pthread_setaffinity_np support */
/* #undef JEMALLOC_HAVE_PTHREAD_SETAFFINITY_NP */

/*
* If defined, all the features necessary for background threads are present.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#define JEMALLOC_HAVE_ATTR_COLD

/* Defined if deprecated attribute is supported. */
#define JEMALLOC_HAVE_ATTR_DEPRECATED
// #define JEMALLOC_HAVE_ATTR_DEPRECATED

/*
* Define overrides for non-standard allocator-related functions if they are
Expand Down

0 comments on commit 5cdab1c

Please sign in to comment.