aboutsummaryrefslogtreecommitdiff
path: root/tomo.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-04-20 14:58:32 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-04-20 14:58:32 -0400
commit2dd9392ef91b953ad5741fa8a955cfd7694a2e05 (patch)
tree4c058d3c38fd1ac8528317a29c923e405ab57887 /tomo.c
parentff3e1c13284ba25841e35eccf435a15f8d17b1b9 (diff)
Fix USE_COLOR
Diffstat (limited to 'tomo.c')
-rw-r--r--tomo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tomo.c b/tomo.c
index 74b6b09e..ea399193 100644
--- a/tomo.c
+++ b/tomo.c
@@ -317,8 +317,6 @@ int compile_executable(const char *filename, const char *object_files, module_co
"#include <tomo/tomo.h>\n"
"#include \"", filename, ".h\"\n"
"\n"
- "public bool USE_COLOR = true;\n"
- "\n"
"int main(int argc, char *argv[]) {\n"
"GC_INIT();\n"
"USE_COLOR = getenv(\"COLOR\") ? strcmp(getenv(\"COLOR\"), \"1\") == 0 : isatty(STDOUT_FILENO);\n"