Closed IngwiePhoenix closed 9 years ago
Very tiny change. Therefore just a diff. :)
Ingwie@Ingwies-Macbook-Pro.local ~/W/I/incbin $ git diff diff --git a/incbin.h b/incbin.h index e8cb45a..709e4e0 100644 --- a/incbin.h +++ b/incbin.h @@ -22,7 +22,11 @@ # endif #endif +#ifndef _MSC_VER #define INCBIN_ALIGN __attribute__((aligned(INCBIN_ALIGNMENT))) +#else +#define INCBIN_ALIGN __declspec(align(INCBIN_ALIGNMENT)) +#endif #ifdef __cplusplus # define INCBIN_EXTERNAL extern "C"
Sorry for the flood of messages, by the way. o.o
Fixed
Very tiny change. Therefore just a diff. :)
Sorry for the flood of messages, by the way. o.o