diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-09-10 22:02:21 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-09-10 22:02:21 (GMT) |
commit | b370370a9e35f9dd2357102b17338d3d93bb62aa (patch) | |
tree | b8a8c5019a0705a75cf9cf8572c07219bc159076 /src/core/core.c | |
parent | 2424c52c4f3bc44ce5f36348442cfa103e0989c2 (diff) |
Tune the compilation using flags instead of a config file.
Diffstat (limited to 'src/core/core.c')
-rw-r--r-- | src/core/core.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/core.c b/src/core/core.c index 626d58b..fe7a5e0 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -31,9 +31,6 @@ #include <openssl/ssl.h> -#include <config.h> - - #include "collections.h" #include "demanglers.h" #include "global.h" @@ -41,7 +38,7 @@ #include "processors.h" #include "queue.h" #include "../analysis/scan/core.h" -#ifdef HAVE_MAGIC_SUPPORT +#ifdef INCLUDE_MAGIC_SUPPORT # include "../analysis/scan/items/magic/cookie.h" #endif #include "../common/io.h" @@ -108,7 +105,7 @@ bool load_all_core_components(bool cs) resolver = g_content_resolver_new(); set_current_content_resolver(resolver); -#ifdef HAVE_MAGIC_SUPPORT +#ifdef INCLUDE_MAGIC_SUPPORT if (result) result = init_magic_cookie(); #endif @@ -161,7 +158,7 @@ void unload_all_core_components(bool cs) unload_all_scan_token_modifiers(); set_rost_root_namespace(NULL); -#ifdef HAVE_MAGIC_SUPPORT +#ifdef INCLUDE_MAGIC_SUPPORT exit_magic_cookie(); #endif |