mirror of
https://github.com/curl/curl.git
synced 2026-08-26 00:33:34 +03:00
David McCreedy's "TPF-platform specific changes to various files" patch
This commit is contained in:
parent
fdc091a857
commit
5a91746b80
13 changed files with 249 additions and 10 deletions
|
|
@ -601,6 +601,9 @@
|
|||
/* Define to the type of arg 5 for `select'. */
|
||||
#define SELECT_TYPE_ARG5 (struct timeval *)
|
||||
|
||||
/* The size of an `off_t', as computed by sizeof. */
|
||||
#define SIZEOF_OFF_T 8
|
||||
|
||||
/* The size of a `size_t', as computed by sizeof. */
|
||||
#define SIZEOF_SIZE_T 8
|
||||
|
||||
|
|
|
|||
|
|
@ -65,9 +65,7 @@
|
|||
#endif
|
||||
|
||||
#ifdef TPF
|
||||
#include "config-tpf.h" /* hand-modified TPF config.h */
|
||||
/* change which select is used for libcurl */
|
||||
#define select(a,b,c,d,e) tpf_select_libcurl(a,b,c,d,e)
|
||||
# include "config-tpf.h"
|
||||
#endif
|
||||
|
||||
#endif /* HAVE_CONFIG_H */
|
||||
|
|
@ -228,6 +226,8 @@
|
|||
# include <sys/socket.h> /* for select and ioctl*/
|
||||
# include <netdb.h> /* for in_addr_t definition */
|
||||
# include <tpf/sysapi.h> /* for tpf_process_signals */
|
||||
/* change which select is used for libcurl */
|
||||
# define select(a,b,c,d,e) tpf_select_libcurl(a,b,c,d,e)
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue