X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-so-vdyn.c;h=1b78edab633d25c365ed04badde6120552fbff22;hb=16f014ef35b8355de1006891fe6920c8b51675fe;hp=1734494595fee2f7a6338f30e2f39f9effa59024;hpb=4521c1e7ae5371ab9d639adc617d17fb4e8ded0c;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-so-vdyn.c b/src/afb-api-so-vdyn.c index 17344945..1b78edab 100644 --- a/src/afb-api-so-vdyn.c +++ b/src/afb-api-so-vdyn.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017, 2018 "IoT.bzh" + * Copyright (C) 2016-2019 "IoT.bzh" * Author José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -15,6 +15,8 @@ * limitations under the License. */ +#if WITH_LEGACY_BINDING_VDYN && WITH_DYNAMIC_BINDING + #define _GNU_SOURCE #include @@ -59,3 +61,5 @@ int afb_api_so_vdyn_add(const char *path, void *handle, struct afb_apiset *decla return 1; } +#endif +