• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #undef OPENSSL_LINUX
2 #if defined(__linux) && !defined(__ANDROID__)
3 # define OPENSSL_LINUX 1
4 #endif
5 
6 #if defined(OPENSSL_LINUX) && defined(__i386__)
7 # include "./archs/linux-elf/no-asm/include/openssl/ssl.h"
8 #elif defined(OPENSSL_LINUX) && defined(__ILP32__)
9 # include "./archs/linux-x32/no-asm/include/openssl/ssl.h"
10 #elif defined(OPENSSL_LINUX) && defined(__x86_64__)
11 # include "./archs/linux-x86_64/no-asm/include/openssl/ssl.h"
12 #elif defined(OPENSSL_LINUX) && defined(__arm__)
13 # include "./archs/linux-armv4/no-asm/include/openssl/ssl.h"
14 #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15 # include "./archs/linux-aarch64/no-asm/include/openssl/ssl.h"
16 #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17 # include "./archs/linux64-loongarch64/no-asm/include/openssl/ssl.h"
18 #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
19 # include "./archs/darwin-i386-cc/no-asm/include/openssl/ssl.h"
20 #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
21 # include "./archs/darwin64-x86_64-cc/no-asm/include/openssl/ssl.h"
22 #elif defined(__APPLE__) && defined(__MACH__) && defined(__arm64__)
23 # include "./archs/darwin64-arm64-cc/no-asm/include/openssl/ssl.h"
24 #elif defined(_WIN32) && defined(_M_IX86)
25 # include "./archs/VC-WIN32/no-asm/include/openssl/ssl.h"
26 #elif defined(_WIN32) && defined(_M_X64)
27 # include "./archs/VC-WIN64A/no-asm/include/openssl/ssl.h"
28 #elif defined(_WIN32) && defined(_M_ARM64)
29 # include "./archs/VC-WIN64-ARM/no-asm/include/openssl/ssl.h"
30 #elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__i386__)
31 # include "./archs/BSD-x86/no-asm/include/openssl/ssl.h"
32 #elif (defined(__FreeBSD__) || defined(__OpenBSD__)) && defined(__x86_64__)
33 # include "./archs/BSD-x86_64/no-asm/include/openssl/ssl.h"
34 #elif defined(__sun) && defined(__i386__)
35 # include "./archs/solaris-x86-gcc/no-asm/include/openssl/ssl.h"
36 #elif defined(__sun) && defined(__x86_64__)
37 # include "./archs/solaris64-x86_64-gcc/no-asm/include/openssl/ssl.h"
38 #elif defined(OPENSSL_LINUX) && defined(__PPC64__)  && defined(L_ENDIAN)
39 # include "./archs/linux-ppc64le/no-asm/include/openssl/ssl.h"
40 #elif defined(_AIX) && defined(_ARCH_PPC64)
41 # include "./archs/aix64-gcc-as/no-asm/include/openssl/ssl.h"
42 #elif defined(OPENSSL_LINUX) && defined(__s390x__)
43 # include "./archs/linux64-s390x/no-asm/include/openssl/ssl.h"
44 #elif defined(OPENSSL_LINUX) && defined(__s390__)
45 # include "./archs/linux32-s390x/no-asm/include/openssl/ssl.h"
46 #else
47 # include "./archs/linux-elf/no-asm/include/openssl/ssl.h"
48 #endif
49 
50 /* GOST is not included in all platform */
51 #ifndef OPENSSL_NO_GOST
52 # define OPENSSL_NO_GOST
53 #endif
54 /* HW_PADLOCK is not included in all platform */
55 #ifndef OPENSSL_NO_HW_PADLOCK
56 # define OPENSSL_NO_HW_PADLOCK
57 #endif
58