mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-13 12:31:25 +00:00
More explicitly enable assert() in Droid release builds
This commit is contained in:
parent
3318d159b5
commit
6ed0100291
@ -88,6 +88,15 @@ void log_outputString(const char * const str);
|
||||
} while (0)
|
||||
#endif
|
||||
|
||||
#if defined(NDEBUG)
|
||||
# if defined(__ANDROID__)
|
||||
// HACK NOTE : keep assertions in Android release code to get better introspection into potential crashes
|
||||
# else
|
||||
# undef assert
|
||||
# define assert(e)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define LOG(...) \
|
||||
if (LIKELY(do_logging)) { \
|
||||
GLenum _glerr = safeGLGetError(); \
|
||||
|
Loading…
x
Reference in New Issue
Block a user