From 2c1edf4183b8b19e335f83ea0664e17a97ac9918 Mon Sep 17 00:00:00 2001 From: Thierry Bultel Date: Tue, 3 Jul 2018 16:41:29 +0200 Subject: [PATCH] No longer sets the API version The API version must now be set in top config.cmake Signed-off-by: Thierry Bultel --- filescan-utils.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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 -- 2.16.6