X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-binder.git;a=blobdiff_plain;f=src%2Fafb-api-so-vdyn.c;h=c5aa1db73692c8d7c20e975efae57c7ac9e8edf3;hp=1734494595fee2f7a6338f30e2f39f9effa59024;hb=65353dce81a629e042800bb7b86fcd869a76727e;hpb=4521c1e7ae5371ab9d639adc617d17fb4e8ded0c diff --git a/src/afb-api-so-vdyn.c b/src/afb-api-so-vdyn.c index 17344945..c5aa1db7 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) 2015-2020 "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 +