From 21f9dc6b7c6b92a06718852042e7f49f98fb42eb Mon Sep 17 00:00:00 2001 From: hazohelet <48541090+hazohelet@users.noreply.github.com> Date: Sun, 29 Sep 2019 23:39:38 +0900 Subject: [PATCH] cheaders: add DEFAULT_EQUAL for future float eqbit() --- compiler/cheaders.v | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/cheaders.v b/compiler/cheaders.v index ea00a0ced8..80a4c81e3b 100644 --- a/compiler/cheaders.v +++ b/compiler/cheaders.v @@ -122,6 +122,7 @@ typedef map map_string; #define _PUSH_MANY(arr, val, tmp, tmp_typ) {tmp_typ tmp = (val); array__push_many(arr, tmp.data, tmp.len);} #define _IN(typ, val, arr) array_##typ##_contains(arr, val) #define _IN_MAP(val, m) map__exists(m, val) +#define DEFAULT_EQUAL(a, b) (a == b) //================================== GLOBALS =================================*/ byteptr g_str_buf; int load_so(byteptr);