X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hook.c;h=f8b593dfdb2485a56477d9e60884785074b28608;hb=6f13ad1989875b5a0ce50b24211fd1fba093735f;hp=3fcd36d054c6713d8353293292010c1e001c7d76;hpb=3f2e3d9ee06073b4bdbfe0f0321574f66397505e;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hook.c b/src/afb-hook.c index 3fcd36d0..f8b593df 100644 --- a/src/afb-hook.c +++ b/src/afb-hook.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_AFB_HOOK /***********************************************************/ + #define _GNU_SOURCE #include @@ -1848,3 +1850,4 @@ void afb_hook_unref_global(struct afb_hook_global *hook) } } +#endif /* WITH_AFB_HOOK *******************************************************/