diff options
| author | Yonggang Luo <[email protected]> | 2022-10-21 02:25:51 +0800 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2022-12-12 13:56:20 +0100 |
| commit | dab89fba0e84c948fb270e541d1d1313afd2c2c3 (patch) | |
| tree | b6478230a0047a98b405012bafa3f21658635ae4 | |
| parent | 86347d80bec28c762ddc47aee866fcdaf781f25a (diff) | |
libcpu: Use "#define FCT_mod$64r_m FCT_mod$r_m" in i386_data.h
This is enough and can be recognized by clang-cl on windows
Signed-off-by: Yonggang Luo <[email protected]>
| -rw-r--r-- | libcpu/ChangeLog | 4 | ||||
| -rw-r--r-- | libcpu/i386_data.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libcpu/ChangeLog b/libcpu/ChangeLog index 06ffe02f..248b1aba 100644 --- a/libcpu/ChangeLog +++ b/libcpu/ChangeLog @@ -1,5 +1,9 @@ 2022-10-21 Yonggang Luo <[email protected]> + * i386_data.h: Define FCT_mod$64r_m as FCT_mod$r_m for i386. + +2022-10-21 Yonggang Luo <[email protected]> + * i386_disasm.c: Don't include endian.h. * memory-access.h: Don't include byteswap.h and endian.h. Do include system.h. diff --git a/libcpu/i386_data.h b/libcpu/i386_data.h index 06356b8a..fe3c4ae1 100644 --- a/libcpu/i386_data.h +++ b/libcpu/i386_data.h @@ -1153,7 +1153,7 @@ FCT_mod$64r_m (struct output_data *d) return general_mod$r_m (d); } #else -static typeof (FCT_mod$r_m) FCT_mod$64r_m __attribute__ ((alias ("FCT_mod$r_m"))); +#define FCT_mod$64r_m FCT_mod$r_m #endif |
