summaryrefslogtreecommitdiffstats
path: root/src/file_bdm.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2022-04-13 09:20:45 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2022-04-13 09:20:45 +0200
commit305d71ea0a542f40d5c01573643a457747cc60a0 (patch)
tree77470fd224293c22623e36bf1684715fef5c625c /src/file_bdm.c
parent952415ee990f17fed58ba22ca0d3f86fad38ff2b (diff)
Use "DISABLED_FOR_FRAMAC" to disable code to facilitate verificationHEADmaster
using frama-c
Diffstat (limited to 'src/file_bdm.c')
-rw-r--r--src/file_bdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_bdm.c b/src/file_bdm.c
index daf3e01..2390f2e 100644
--- a/src/file_bdm.c
+++ b/src/file_bdm.c
@@ -59,7 +59,7 @@ static int header_check_bdm(const unsigned char *buffer, const unsigned int buff
static void register_header_check_bdm(file_stat_t *file_stat)
{
register_header_check(0, "INDX0100", 8, &header_check_bdm, file_stat);
-#ifndef __FRAMAC__
+#ifndef DISABLED_FOR_FRAMAC
register_header_check(0, "MOBJ0100", 8, &header_check_bdm, file_stat);
#endif
}