aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-api-so-v3.c
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-02-18 15:04:38 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-03-22 12:21:54 +0100
commit8538d642f01c8ee185cb356eba2c2f19cf4cea58 (patch)
tree1a84f122dbc16d03c93be921fcd66fc31a91a091 /src/afb-api-so-v3.c
parent5cbc5e1c37fba83ba2577aad9b66de2c7587e63f (diff)
Add conditionnal support of dynamic bindings
The load of dynamic bindings becomes removable. This is a step in direction of a tiny binder library. Also refactor AGL_DEVEL Signed-off-by: Jose Bollo <jose.bollo@iot.bzh> Change-Id: If283f431fd8a831429e717b2770464cb54476dc7
Diffstat (limited to 'src/afb-api-so-v3.c')
-rw-r--r--src/afb-api-so-v3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/afb-api-so-v3.c b/src/afb-api-so-v3.c
index c48ab74d..230a93fc 100644
--- a/src/afb-api-so-v3.c
+++ b/src/afb-api-so-v3.c
@@ -15,6 +15,8 @@
* limitations under the License.
*/
+#if WITH_DYNAMIC_BINDING
+
#define _GNU_SOURCE
#include <stdlib.h>
@@ -135,3 +137,4 @@ error:
return -1;
}
+#endif