From 67ed0d9bf9c17c94a17b081232194d1eaf83dea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Mon, 9 Jan 2017 23:50:14 +0100 Subject: [PATCH] Fix EVM_CALL_FAILURE definition on Windows --- include/evm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/evm.h b/include/evm.h index de5be94..724d8c2 100644 --- a/include/evm.h +++ b/include/evm.h @@ -281,8 +281,8 @@ enum evm_call_kind { EVM_CREATE = 3 ///< Request CREATE. Semantic of some params changes. }; -/// The flag indicating call failure in evm_call_fn(). -enum { EVM_CALL_FAILURE = INT64_MIN }; +/// The flag indicating call failure in evm_call_fn() -- highest bit set. +static const int64_t EVM_CALL_FAILURE = 0x8000000000000000; /// Pointer to the callback function supporting EVM calls. ///