David McCreedy's "TPF-platform specific changes to various files" patch

This commit is contained in:
Yang Tse
2009-05-01 12:39:40 +00:00
parent fdc091a857
commit 5a91746b80
13 changed files with 249 additions and 10 deletions

View File

@@ -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>