mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-27 13:34:33 -04:00
Fix building with MinGW 11.2.0 on Windows, add it into CI/CD
This commit is contained in:
parent
9bb0549ad2
commit
6247fa5bbc
3 changed files with 26 additions and 7 deletions
|
@ -12,8 +12,8 @@
|
|||
#define __BYTE_ORDER BYTE_ORDER
|
||||
#define __BIG_ENDIAN BIG_ENDIAN
|
||||
#define __LITTLE_ENDIAN LITTLE_ENDIAN
|
||||
// Windows with MS compiler
|
||||
#elif defined(_MSC_VER)
|
||||
// Windows with MS or MinGW compilers
|
||||
#elif defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#include <stdlib.h>
|
||||
#define __LITTLE_ENDIAN 1234
|
||||
#define __BIG_ENDIAN 4321
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue