Skip to content

Commit

Permalink
prelude: Stub out __has_builtin() if necessary
Browse files Browse the repository at this point in the history
Fixes: c964524 ("atomic: Add a spin_loop() hint")
  • Loading branch information
tavianator committed Aug 23, 2024
1 parent 7e436bd commit e38a17f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/prelude.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ extern const char bfs_ldlibs[];
# define __has_attribute(attr) false
#endif

#ifndef __has_builtin
# define __has_builtin(builtin) false
#endif

// Fundamental utilities

/**
Expand Down

0 comments on commit e38a17f

Please sign in to comment.