Skip to content

Commit

Permalink
mingw fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
graphitemaster authored Aug 16, 2017
1 parent 25b049e commit c8dda08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions incbin.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c8dda08

Please sign in to comment.