11cb0ef41Sopenharmony_ci#undef OPENSSL_LINUX
21cb0ef41Sopenharmony_ci#if defined(__linux) && !defined(__ANDROID__)
31cb0ef41Sopenharmony_ci# define OPENSSL_LINUX 1
41cb0ef41Sopenharmony_ci#endif
51cb0ef41Sopenharmony_ci
61cb0ef41Sopenharmony_ci#if defined(OPENSSL_LINUX) && defined(__i386__)
71cb0ef41Sopenharmony_ci# include "./archs/linux-elf/no-asm/include/openssl/pkcs7.h"
81cb0ef41Sopenharmony_ci#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
91cb0ef41Sopenharmony_ci# include "./archs/linux-x32/no-asm/include/openssl/pkcs7.h"
101cb0ef41Sopenharmony_ci#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
111cb0ef41Sopenharmony_ci# include "./archs/linux-x86_64/no-asm/include/openssl/pkcs7.h"
121cb0ef41Sopenharmony_ci#elif defined(OPENSSL_LINUX) && defined(__arm__)
131cb0ef41Sopenharmony_ci# include "./archs/linux-armv4/no-asm/include/openssl/pkcs7.h"
141cb0ef41Sopenharmony_ci#elif defined(OPENSSL_LINUX) && defined(__aarch64__)
151cb0ef41Sopenharmony_ci# include "./archs/linux-aarch64/no-asm/include/openssl/pkcs7.h"
161cb0ef41Sopenharmony_ci#elif defined(OPENSSL_LINUX) && defined(__loongarch64)
171cb0ef41Sopenharmony_ci# include "./archs/linux64-loongarch64/no-asm/include/openssl/pkcs7.h"
181cb0ef41Sopenharmony_ci#elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
191cb0ef41Sopenharmony_ci# include "./archs/darwin-i386-cc/no-asm/include/openssl/pkcs7.h"
201cb0ef41Sopenharmony_ci#elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
211cb0ef41Sopenharmony_ci# include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/pkcs7.h"
221cb0ef41Sopenharmony_ci#elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__)
231cb0ef41Sopenharmony_ci# include "./archs/darwin64-arm64-cc/no-asm/include/openssl/pkcs7.h"
241cb0ef41Sopenharmony_ci#elif defined(_WIN32) && defined(_M_IX86)
251cb0ef41Sopenharmony_ci# include "./archs/VC-WIN32/no-asm/include/openssl/pkcs7.h"
261cb0ef41Sopenharmony_ci#elif defined(_WIN32) && defined(_M_X64)
271cb0ef41Sopenharmony_ci# include "./archs/VC-WIN64A/no-asm/include/openssl/pkcs7.h"
281cb0ef41Sopenharmony_ci#elif defined(_WIN32) && defined(_M_ARM64)
291cb0ef41Sopenharmony_ci# include "./archs/VC-WIN64-ARM/no-asm/include/openssl/pkcs7.h"
301cb0ef41Sopenharmony_ci#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__)
311cb0ef41Sopenharmony_ci# include "./archs/BSD-x86/no-asm/include/openssl/pkcs7.h"
321cb0ef41Sopenharmony_ci#elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__)
331cb0ef41Sopenharmony_ci# include "./archs/BSD-x86_64/no-asm/include/openssl/pkcs7.h"
341cb0ef41Sopenharmony_ci#elif defined(__sun) && defined(__i386__)
351cb0ef41Sopenharmony_ci# include "./archs/solaris-x86-gcc/no-asm/include/openssl/pkcs7.h"
361cb0ef41Sopenharmony_ci#elif defined(__sun) && defined(__x86_64__)
371cb0ef41Sopenharmony_ci# include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/pkcs7.h"
381cb0ef41Sopenharmony_ci#elif defined(OPENSSL_LINUX) && defined(__PPC64__)  && defined(L_ENDIAN)
391cb0ef41Sopenharmony_ci# include "./archs/linux-ppc64le/no-asm/include/openssl/pkcs7.h"
401cb0ef41Sopenharmony_ci#elif defined(_AIX) && defined(_ARCH_PPC64)
411cb0ef41Sopenharmony_ci# include "./archs/aix64-gcc-as/no-asm/include/openssl/pkcs7.h"
421cb0ef41Sopenharmony_ci#elif defined(OPENSSL_LINUX) && defined(__s390x__)
431cb0ef41Sopenharmony_ci# include "./archs/linux64-s390x/no-asm/include/openssl/pkcs7.h"
441cb0ef41Sopenharmony_ci#elif defined(OPENSSL_LINUX) && defined(__s390__)
451cb0ef41Sopenharmony_ci# include "./archs/linux32-s390x/no-asm/include/openssl/pkcs7.h"
461cb0ef41Sopenharmony_ci#else
471cb0ef41Sopenharmony_ci# include "./archs/linux-elf/no-asm/include/openssl/pkcs7.h"
481cb0ef41Sopenharmony_ci#endif
491cb0ef41Sopenharmony_ci
501cb0ef41Sopenharmony_ci/* GOST is not included in all platform */
511cb0ef41Sopenharmony_ci#ifndef OPENSSL_NO_GOST
521cb0ef41Sopenharmony_ci# define OPENSSL_NO_GOST
531cb0ef41Sopenharmony_ci#endif
541cb0ef41Sopenharmony_ci/* HW_PADLOCK is not included in all platform */
551cb0ef41Sopenharmony_ci#ifndef OPENSSL_NO_HW_PADLOCK
561cb0ef41Sopenharmony_ci# define OPENSSL_NO_HW_PADLOCK
571cb0ef41Sopenharmony_ci#endif
58