diff options
-rw-r--r-- | filescan-utils.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/filescan-utils.h b/filescan-utils.h index 906d92c..674afb6 100644 --- a/filescan-utils.h +++ b/filescan-utils.h @@ -26,16 +26,10 @@ extern "C" { #endif -// hack waiting for official V3 API +#include <afb/afb-binding.h> + #ifdef USE_API_DYN - #define AFB_BINDING_VERSION 0 - #define AFB_BINDING_WANT_DYNAPI - #include <afb/afb-binding.h> extern afb_dynapi *AFB_default; - #define AFB_DEBUG(...) AFB_DYNAPI_DEBUG(AFB_default, __VA_ARGS__) -#else - #define AFB_BINDING_VERSION 2 - #include <afb/afb-binding.h> #endif #include <json-c/json.h> |