Skip to content

Commit 3c181c4

Browse files
committed
Fix ifdef protection in libs/common/assert.c
1 parent c4a782d commit 3c181c4

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [0-based versioning](https://0ver.org/).
77

88
## [Unreleased]
99

10+
## v0.13.2 - 12-August-2025
11+
12+
### Fixed
13+
14+
- ifdef protection in `libs/common/assert.c`.
15+
1016
## v0.13.1 - 12-August-2025
1117

1218
### Changed

libs/common/assert.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include "common/macros.h"
3232
#include "common/compiler.h"
3333

34-
#ifdef AM_ASSERT_FAILURE
34+
#ifdef AM_ASSERT_FAILURE_ENABLED
3535

3636
AM_NORETURN void am_assert_failure(
3737
const char *assertion, const char *file, int line
@@ -42,4 +42,4 @@ AM_NORETURN void am_assert_failure(
4242
__builtin_trap();
4343
}
4444

45-
#endif /* AM_ASSERT_FAILURE */
45+
#endif /* AM_ASSERT_FAILURE_ENABLED */

0 commit comments

Comments
 (0)