mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[Win32] fixed PACKED_STRUCT_UNALIGNED on x86
Use MACHINE for x86 CPU family, ARCH is CPU model name (i386) and cannot be x86.
This commit is contained in:
parent
73f9831a57
commit
9ba335e2eb
1 changed files with 1 additions and 1 deletions
|
@ -700,7 +700,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
|
|||
!else
|
||||
#define PACKED_STRUCT(x) x
|
||||
!endif
|
||||
!if "$(ARCH)" == "x86" || "$(ARCH)" == "x64"
|
||||
!if "$(MACHINE)" == "x86" || "$(ARCH)" == "x64"
|
||||
#define PACKED_STRUCT_UNALIGNED(x) PACKED_STRUCT(x)
|
||||
!else
|
||||
#define PACKED_STRUCT_UNALIGNED(x) x
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue