Skip to content

Commit

Permalink
Fix build error on gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
XrXr committed Dec 16, 2024
1 parent db079a5 commit bc76dd9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion internal/sanitizers.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#endif

#ifdef HAVE_SANITIZER_ASAN_INTERFACE_H
# if __has_feature(address_sanitizer)
# if __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__)
# define RUBY_ASAN_ENABLED
# include <sanitizer/asan_interface.h>
# endif
Expand Down
1 change: 0 additions & 1 deletion thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@

#define TH_SCHED(th) (&(th)->ractor->threads.sched)

#include "internal/sanitizers.h"
#include "eval_intern.h"
#include "hrtime.h"
#include "internal.h"
Expand Down

0 comments on commit bc76dd9

Please sign in to comment.