From 6733b12ec3a4bf9528b250635725f8606ae5c331 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 13 Jan 2020 00:20:13 +0100 Subject: [PATCH] android: use __ANDROID__ --- vlib/compiler/cgen.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/compiler/cgen.v b/vlib/compiler/cgen.v index d787c2d68f..52331a6ce7 100644 --- a/vlib/compiler/cgen.v +++ b/vlib/compiler/cgen.v @@ -336,7 +336,7 @@ fn os_name_to_ifdef(name string) string { return '_MSC_VER' } 'android' { - return '__BIONIC__' + return '__ANDROID__' } 'js' { return '_VJS'