blob: 25bb3c4e8525c52150898c2e0c445c57de574e27 [file] [log] [blame]
diff --git a/lib/curl_config.h b/lib/curl_config.h
index 273593ba6..6ba8faca3 100644
--- a/lib/curl_config.h
+++ b/lib/curl_config.h
@@ -128,7 +128,10 @@
#define HAVE_BORINGSSL 1
/* Define to 1 if you have the clock_gettime function and monotonic timer. */
+#if !defined(__APPLE__)
+/* CLOCK_MONOTONIC is not defined in mac when building for the host. */
#define HAVE_CLOCK_GETTIME_MONOTONIC 1
+#endif
/* Define to 1 if you have the closesocket function. */
/* #undef HAVE_CLOSESOCKET */
@@ -430,10 +433,14 @@
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the memrchr function or macro. */
+#if !defined(__APPLE__)
#define HAVE_MEMRCHR 1
+#endif
/* Define to 1 if you have the MSG_NOSIGNAL flag. */
+#if !defined(__APPLE__)
#define HAVE_MSG_NOSIGNAL 1
+#endif
/* Define to 1 if you have the <netdb.h> header file. */
#define HAVE_NETDB_H 1
@@ -787,9 +794,6 @@
/* Define absolute filename for winbind's ntlm_auth helper. */
/* #undef NTLM_WB_FILE */
-/* cpu-machine-OS */
-#define OS "arm-unknown-linux-androideabi"
-
/* Name of package */
#define PACKAGE "curl"
@@ -827,7 +831,7 @@
#define RECV_TYPE_ARG4 int
/* Define to the function return type for recv. */
-#define RECV_TYPE_RETV int
+#define RECV_TYPE_RETV ssize_t
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
@@ -845,7 +849,7 @@
#define SELECT_TYPE_ARG5 struct timeval *
/* Define to the function return type for select. */
-#define SELECT_TYPE_RETV int
+#define SELECT_TYPE_RETV ssize_t
/* Define to the type qualifier of arg 2 for send. */
#define SEND_QUAL_ARG2 const
@@ -863,32 +867,14 @@
#define SEND_TYPE_ARG4 int
/* Define to the function return type for send. */
-#define SEND_TYPE_RETV int
+#define SEND_TYPE_RETV ssize_t
/* The size of `int', as computed by sizeof. */
#define SIZEOF_INT 4
-/* The size of `long', as computed by sizeof. */
-#define SIZEOF_LONG 4
-
-/* The size of `long long', as computed by sizeof. */
-/* #undef SIZEOF_LONG_LONG */
-
-/* The size of `off_t', as computed by sizeof. */
-#define SIZEOF_OFF_T 8
-
/* The size of `short', as computed by sizeof. */
#define SIZEOF_SHORT 2
-/* The size of `size_t', as computed by sizeof. */
-#define SIZEOF_SIZE_T 4
-
-/* The size of `time_t', as computed by sizeof. */
-#define SIZEOF_TIME_T 4
-
-/* The size of `void*', as computed by sizeof. */
-#define SIZEOF_VOIDP 4
-
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1