This commit is contained in:
Adam Ierymenko 2019-06-11 11:01:20 -07:00
commit cf046a4039
2 changed files with 5 additions and 1 deletions

View File

@ -1096,7 +1096,8 @@ enum ZT_Architecture
ZT_ARCHITECTURE_SPARC64 = 12,
ZT_ARCHITECTURE_DOTNET_CLR = 13,
ZT_ARCHITECTURE_JAVA_JVM = 14,
ZT_ARCHITECTURE_WEB = 15
ZT_ARCHITECTURE_WEB = 15,
ZT_ARCHITECTURE_S390X = 16
};
/**

View File

@ -224,6 +224,9 @@ ifeq ($(CC_MACH),mips64el)
ZT_ARCHITECTURE=6
override DEFS+=-DZT_NO_TYPE_PUNNING
endif
ifeq ($(CC_MACH),s390x)
ZT_ARCHITECTURE=16
endif
# Fail if system architecture could not be determined
ifeq ($(ZT_ARCHITECTURE),999)