From: Thierry Bultel Date: Tue, 3 Jul 2018 14:41:29 +0000 (+0200) Subject: No longer sets the API version X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Fsandbox%2Ftbultel%2F4a_master;p=apps%2Fapp-afb-helpers-submodule.git No longer sets the API version The API version must now be set in top config.cmake Signed-off-by: Thierry Bultel --- diff --git a/filescan-utils.h b/filescan-utils.h index 906d92c..674afb6 100644 --- a/filescan-utils.h +++ b/filescan-utils.h @@ -26,16 +26,10 @@ extern "C" { #endif -// hack waiting for official V3 API +#include + #ifdef USE_API_DYN - #define AFB_BINDING_VERSION 0 - #define AFB_BINDING_WANT_DYNAPI - #include extern afb_dynapi *AFB_default; - #define AFB_DEBUG(...) AFB_DYNAPI_DEBUG(AFB_default, __VA_ARGS__) -#else - #define AFB_BINDING_VERSION 2 - #include #endif #include