Skip to content

Commit

Permalink
Fixed more ‘NDEBUG' macro redefined warning in Release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
DidierMalenfant committed Feb 21, 2024
1 parent e7c7073 commit 79f8ed9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/adf_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ static void show_bFileExtBlock (
const struct bFileExtBlock * const block );

#else
#ifndef NDEBUG
#define NDEBUG
#endif
#endif

#include <assert.h>

Expand Down
2 changes: 2 additions & 0 deletions src/adf_raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@

#include <string.h>

#ifndef NDEBUG
#define NDEBUG
#endif
#include <assert.h>

#define SW_LONG 4
Expand Down

0 comments on commit 79f8ed9

Please sign in to comment.