summaryrefslogtreecommitdiffstats
path: root/src/file_xcf.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_xcf.c
parent952415ee990f17fed58ba22ca0d3f86fad38ff2b (diff)
Use "DISABLED_FOR_FRAMAC" to disable code to facilitate verificationHEADmaster
using frama-c
Diffstat (limited to 'src/file_xcf.c')
-rw-r--r--src/file_xcf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_xcf.c b/src/file_xcf.c
index 06fd620..dc286c1 100644
--- a/src/file_xcf.c
+++ b/src/file_xcf.c
@@ -79,7 +79,7 @@ static int header_check_xcf(const unsigned char *buffer, const unsigned int buff
static void register_header_check_xcf(file_stat_t *file_stat)
{
register_header_check(0, "gimp xcf file", 13, &header_check_xcf, file_stat);
-#ifndef __FRAMAC__
+#ifndef DISABLED_FOR_FRAMAC
register_header_check(0, "gimp xcf v001", 13, &header_check_xcf, file_stat);
register_header_check(0, "gimp xcf v002", 13, &header_check_xcf, file_stat);
#endif