X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-so-vdyn.c;h=6be16b95d5f2383584dd50229149b7af11c569a2;hb=2ba7c200c6c4844b63f8f707a6f04017661f16ca;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..6be16b95 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 + #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 +