Skip to content

Commit

Permalink
fix: Explicitly check against NDEBUG on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Sep 17, 2024
1 parent 45032be commit 89a5995
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
#ifdef NDEBUG
#undef NITRO_DEBUG
#endif
#ifdef ANDROID
#ifndef NDEBUG
#define NITRO_DEBUG
#endif
#endif

// Helper to find out if a C++ compiler attribute is available
#ifdef __has_attribute
Expand Down

0 comments on commit 89a5995

Please sign in to comment.