summaryrefslogtreecommitdiffstats
path: root/src/utils/include/closestream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/include/closestream.h')
-rw-r--r--src/utils/include/closestream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/include/closestream.h b/src/utils/include/closestream.h
index 41afbe2..8e5d18d 100644
--- a/src/utils/include/closestream.h
+++ b/src/utils/include/closestream.h
@@ -83,7 +83,7 @@ close_stdout_atexit(void)
/*
* Note that close stdout at exit disables ASAN to report memory leaks
*/
-#if !defined(__SANITIZE_ADDRESS__)
+#if !HAS_FEATURE_ADDRESS_SANITIZER
atexit(close_stdout);
#endif
}