blob: c18467d87b3fea0ab07ce54628c95597c3274440 [file] [log] [blame]
Haibo Huang21926d52019-01-08 14:27:10 -08001Index: curl/lib/curl_config.h
2===================================================================
3--- curl.orig/lib/curl_config.h
4+++ curl/lib/curl_config.h
Haibo Huangc3c04f42020-08-19 13:00:07 -07005@@ -472,7 +472,7 @@
Alex Deymod5664862016-06-28 16:26:00 -07006 #define HAVE_NETDB_H 1
Elliott Hughescac39802018-04-27 16:19:43 -07007
8 /* Define to 1 if you have the <netinet/in6.h> header file. */
9-#define HAVE_NETINET_IN6_H 1
10+/* #undef HAVE_NETINET_IN6_H */
11
12 /* Define to 1 if you have the <netinet/in.h> header file. */
13 #define HAVE_NETINET_IN_H 1
Haibo Huangc3c04f42020-08-19 13:00:07 -070014@@ -515,7 +515,7 @@
Haibo Huang21926d52019-01-08 14:27:10 -080015 #define HAVE_OPENSSL_RSA_H 1
16
17 /* if you have the function SRP_Calc_client_key */
18-#define HAVE_OPENSSL_SRP 1
19+/* #undef HAVE_OPENSSL_SRP */
20
21 /* Define to 1 if you have the <openssl/ssl.h> header file. */
22 #define HAVE_OPENSSL_SSL_H 1
Haibo Huangc3c04f42020-08-19 13:00:07 -070023@@ -856,9 +856,6 @@
Alex Deymo16246822017-11-28 14:10:40 +010024 /* Define absolute filename for winbind's ntlm_auth helper. */
25 /* #undef NTLM_WB_FILE */
26
27-/* cpu-machine-OS */
28-#define OS "arm-unknown-linux-androideabi"
29-
30 /* Name of package */
31 #define PACKAGE "curl"
32
Haibo Huangc3c04f42020-08-19 13:00:07 -070033@@ -914,7 +911,7 @@
Alex Deymo16246822017-11-28 14:10:40 +010034 #define SELECT_TYPE_ARG5 struct timeval *
Alex Deymod5664862016-06-28 16:26:00 -070035
Alex Deymo16246822017-11-28 14:10:40 +010036 /* Define to the function return type for select. */
37-#define SELECT_TYPE_RETV int
38+#define SELECT_TYPE_RETV ssize_t
Alex Deymod5664862016-06-28 16:26:00 -070039
Alex Deymo16246822017-11-28 14:10:40 +010040 /* Define to the type qualifier of arg 2 for send. */
41 #define SEND_QUAL_ARG2 const
Haibo Huangc3c04f42020-08-19 13:00:07 -070042@@ -940,24 +937,9 @@
Elliott Hughes72d948d2018-08-03 14:37:21 -070043 /* The number of bytes in type int */
Alex Deymo16246822017-11-28 14:10:40 +010044 #define SIZEOF_INT 4
Alex Deymod5664862016-06-28 16:26:00 -070045
Elliott Hughes72d948d2018-08-03 14:37:21 -070046-/* The number of bytes in type long */
Haibo Huang21926d52019-01-08 14:27:10 -080047-#define SIZEOF_LONG 8
Alex Deymod5664862016-06-28 16:26:00 -070048-
Elliott Hughes72d948d2018-08-03 14:37:21 -070049-/* The number of bytes in type long long */
Alex Deymo16246822017-11-28 14:10:40 +010050-/* #undef SIZEOF_LONG_LONG */
51-
Elliott Hughes72d948d2018-08-03 14:37:21 -070052-/* The number of bytes in type off_t */
Alex Deymod5664862016-06-28 16:26:00 -070053-#define SIZEOF_OFF_T 8
54-
Elliott Hughes72d948d2018-08-03 14:37:21 -070055 /* The number of bytes in type short */
Alex Deymo16246822017-11-28 14:10:40 +010056 #define SIZEOF_SHORT 2
57
Elliott Hughes72d948d2018-08-03 14:37:21 -070058-/* The number of bytes in type size_t */
Haibo Huang21926d52019-01-08 14:27:10 -080059-#define SIZEOF_SIZE_T 8
Alex Deymo16246822017-11-28 14:10:40 +010060-
Elliott Hughes72d948d2018-08-03 14:37:21 -070061-/* The number of bytes in type time_t */
Haibo Huang21926d52019-01-08 14:27:10 -080062-#define SIZEOF_TIME_T 8
Alex Deymo16246822017-11-28 14:10:40 +010063-
Alex Deymod5664862016-06-28 16:26:00 -070064 /* Define to 1 if you have the ANSI C header files. */
65 #define STDC_HEADERS 1
Alex Deymo16246822017-11-28 14:10:40 +010066
Haibo Huangc3c04f42020-08-19 13:00:07 -070067@@ -1052,7 +1034,7 @@
Haibo Huang21926d52019-01-08 14:27:10 -080068 /* #undef USE_THREADS_WIN32 */
69
70 /* Use TLS-SRP authentication */
71-#define USE_TLS_SRP 1
72+/* #undef USE_TLS_SRP */
73
74 /* Use Unix domain sockets */
75 #define USE_UNIX_SOCKETS 1
Haibo Huangc3c04f42020-08-19 13:00:07 -070076@@ -1097,7 +1079,7 @@
Haibo Huang21926d52019-01-08 14:27:10 -080077 #endif
78
79 /* Number of bits in a file offset, on hosts where this is settable. */
80-/* #undef _FILE_OFFSET_BITS */
81+#define _FILE_OFFSET_BITS 64
82
83 /* Define for large files, on AIX-style hosts. */
84 /* #undef _LARGE_FILES */