Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antocuni committed Oct 20, 2022
1 parent 89f59a0 commit 4cde717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hpy/devel/include/hpy.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ extern "C" {
#endif

#ifdef HPY_ABI_UNIVERSAL
# if __has_attribute(error)
# if _HPY_compiler_has_attribute(error)
// gcc, clang>=14
# define _HPY_LEGACY __attribute__((error("Cannot use legacy functions when targeting the HPy Universal ABI")))
# else
Expand Down

0 comments on commit 4cde717

Please sign in to comment.