Fix ffs() in MinGW

This commit is contained in:
Simon Gorchakov 2020-05-11 23:10:19 +03:00
parent 7e413d2fcf
commit ea26926b60

View File

@ -87,6 +87,12 @@
#define ELF_MACHINE EM_PPC
#endif
// ffs() fix for MinGW
#ifdef _WIN32
#define ffs __builtin_ffs
#endif
/*****************************************************************************/
/* MMU model */
typedef enum powerpc_mmu_t powerpc_mmu_t;