summaryrefslogtreecommitdiffstats
path: root/filescan-utils.h
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-01 23:14:27 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-01 23:16:11 +0200
commit563bdeaa563054c842f46f249d4dcc3db9ac3403 (patch)
tree927bef11f9725c232e4fe189d8815b08e3289b08 /filescan-utils.h
parent9685413c5e155e22f72d0b5d36edad889a5f5247 (diff)
Correction to include dynamic api correctly
Define the correct version needed by the application framework for dynamic api. Change-Id: Ic0fd504316e2fc086545f0615ec6e83f2b1cae2d Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'filescan-utils.h')
-rw-r--r--filescan-utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/filescan-utils.h b/filescan-utils.h
index 1ed31a3..906d92c 100644
--- a/filescan-utils.h
+++ b/filescan-utils.h
@@ -28,7 +28,8 @@
// hack waiting for official V3 API
#ifdef USE_API_DYN
- #define AFB_BINDING_VERSION dyn
+ #define AFB_BINDING_VERSION 0
+ #define AFB_BINDING_WANT_DYNAPI
#include <afb/afb-binding.h>
extern afb_dynapi *AFB_default;
#define AFB_DEBUG(...) AFB_DYNAPI_DEBUG(AFB_default, __VA_ARGS__)