mirror of
https://github.com/curl/curl.git
synced 2026-08-05 10:56:18 +03:00
Changes to support building for eCos 1.3.1. This has been tested with
file: URLs only.
This commit is contained in:
parent
d157c29269
commit
684245d6ce
4 changed files with 19 additions and 3 deletions
|
|
@ -109,7 +109,7 @@
|
|||
#define FALSE 0
|
||||
#endif
|
||||
|
||||
#if !defined(__cplusplus) && !defined(__BEOS__) && !defined(typedef_bool)
|
||||
#if !defined(__cplusplus) && !defined(__BEOS__) && !defined(__ECOS) && !defined(typedef_bool)
|
||||
typedef unsigned char bool;
|
||||
#define typedef_bool
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -38,7 +38,8 @@
|
|||
|
||||
#ifndef HAVE_GETTIMEOFDAY
|
||||
#if !defined(_WINSOCKAPI_) && !defined(__MINGW32__) && !defined(_AMIGASF) && \
|
||||
!defined(__LCC__) && !defined(__WATCOMC__) && !defined(__POCC__)
|
||||
!defined(__LCC__) && !defined(__WATCOMC__) && !defined(__POCC__) && \
|
||||
!defined(__ECOS)
|
||||
struct timeval {
|
||||
long tv_sec;
|
||||
long tv_usec;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue