diff --git a/packages/react-native-nitro-modules/cpp/utils/NitroDefines.hpp b/packages/react-native-nitro-modules/cpp/utils/NitroDefines.hpp index 0bab27630..2ed511760 100644 --- a/packages/react-native-nitro-modules/cpp/utils/NitroDefines.hpp +++ b/packages/react-native-nitro-modules/cpp/utils/NitroDefines.hpp @@ -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