Fix compiler warnings on Android

This commit is contained in:
leo60228
2023-09-21 17:49:01 -04:00
committed by Misa Elizabeth Kai
parent 246a91c45e
commit d6a43fad90
3 changed files with 13 additions and 1 deletions

View File

@@ -24,8 +24,13 @@
#define Color_BOLD_RED COLOR("\x1b[1;31m")
#define Color_BOLD_GRAY COLOR("\x1b[1;90m")
static int output_enabled = 1;
#ifdef __ANDROID__
const int color_supported = 0;
#else
static int color_supported = 0;
#endif
static int output_enabled = 1;
static int color_enabled = 1;
static int debug_enabled = 0;
static int info_enabled = 1;