From c8dda08da18eadf78cd678fc217c52620a0620a4 Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Wed, 16 Aug 2017 00:13:03 -0400 Subject: [PATCH] mingw fixes --- incbin.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/incbin.h b/incbin.h index ca6dd33..9ac3e27 100644 --- a/incbin.h +++ b/incbin.h @@ -118,6 +118,9 @@ # if defined(INCBIN_ARM) /* On arm assemblers, `@' is used as a line comment token */ # define INCBIN_TYPE(NAME) ".type " INCBIN_STRINGIZE(INCBIN_PREFIX) #NAME ", %object\n" +# elif defined(__MINGW32__) || defined(__MINGW64__) +/* Mingw doesn't support this directive either */ +# define INCBIN_TYPE(NAME) # else /* It's safe to use `@' on other architectures */ # define INCBIN_TYPE(NAME) ".type " INCBIN_STRINGIZE(INCBIN_PREFIX) #NAME ", @object\n"