Skip to content

Commit

Permalink
Add support for cygwin
Browse files Browse the repository at this point in the history
  • Loading branch information
rasky authored Dec 19, 2023
1 parent 6e576ca commit e43b036
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions incbin.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -473,4 +473,4 @@
INCBIN_COMMON(char, NAME, FILENAME, INCBIN_BYTE "0\n")
#endif

#endif
#endif

0 comments on commit e43b036

Please sign in to comment.