From e43b036cbe576f9cfa4aa8764ce850f77f4d6058 Mon Sep 17 00:00:00 2001 From: Giovanni Bajo Date: Tue, 19 Dec 2023 16:52:16 +0100 Subject: [PATCH] Add support for cygwin Fixes #62 --- incbin.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/incbin.h b/incbin.h index 3f662e1..ae8064b 100644 --- a/incbin.h +++ b/incbin.h @@ -188,8 +188,8 @@ # 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 */ +# elif defined(__MINGW32__) || defined(__MINGW64__) || defined(__CYGWIN__) +/* Mingw and Cygwin don't support this directive either */ # define INCBIN_TYPE(NAME) # else /* It's safe to use `@' on other architectures */ @@ -473,4 +473,4 @@ INCBIN_COMMON(char, NAME, FILENAME, INCBIN_BYTE "0\n") #endif -#endif \ No newline at end of file +#endif