Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
Exclude from C++ builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkadiusz Wójcik committed Jan 10, 2025
1 parent 95a14e7 commit 098891d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/assert.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ extern FOUNDATION_LIBC_NORETURN void foundation_libc_assert(char const * asserti
#error "bad definition of FOUNDATION_LIBC_ASSERT_DEFAULT!"
#endif

#if !defined(__cplusplus)
#define static_assert FOUNDATION_LIBC_STATIC_ASSERT
#endif

#endif

0 comments on commit 098891d

Please sign in to comment.