summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-01 23:14:27 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 14:12:02 +0100
commita4d9dc65dad0b7aa8bbb317c03fb7ff2fdc6322e (patch)
tree927bef11f9725c232e4fe189d8815b08e3289b08
parent1bed1d80d56295b74fdad4fb2b28e4fbfc4c209f (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>
-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__)