summaryrefslogtreecommitdiffstats
path: root/libdimension/prtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/prtree.c')
-rw-r--r--libdimension/prtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/prtree.c b/libdimension/prtree.c
index e73ea16..2d8acc4 100644
--- a/libdimension/prtree.c
+++ b/libdimension/prtree.c
@@ -564,7 +564,7 @@ dmnsn_get_prtree_caches(void)
/** Needed because pthreads doesn't destroy data from the main thread unless
it exits with pthread_exit(). */
-static void __attribute__((destructor))
+DMNSN_DESTRUCTOR static void
dmnsn_delete_main_prtree_caches(void)
{
dmnsn_delete_array(dmnsn_get_prtree_caches());