From 7134d57cd48a760d4481577422724107d4d52692 Mon Sep 17 00:00:00 2001 From: narimiran Date: Fri, 10 Jan 2020 08:53:44 +0100 Subject: [PATCH] [backport] system/io.nim fix wrong documentation comment [ci skip] (cherry picked from commit e9e114058c1c8e65f0b70f7af17ff37586b56908) --- lib/system/io.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/system/io.nim b/lib/system/io.nim index a326de8618..f1f201423d 100644 --- a/lib/system/io.nim +++ b/lib/system/io.nim @@ -115,8 +115,8 @@ proc c_fprintf(f: File, frmt: cstring): cint {. proc c_fputc(c: char, f: File): cint {. importc: "fputc", header: "".} -## When running nim in android app, stdout goes nowhere, so echo gets ignored -## To redirect echo to the android logcat, use -d:androidNDK +# When running nim in android app, stdout goes nowhere, so echo gets ignored +# To redirect echo to the android logcat, use -d:androidNDK when defined(androidNDK): const ANDROID_LOG_VERBOSE = 2.cint proc android_log_print(prio: cint, tag: cstring, fmt: cstring): cint