Loading configure.ac +15 −0 Original line number Diff line number Diff line Loading @@ -373,6 +373,21 @@ then ) fi if test "$HAVE_GETHOSTBYNAME" != "1" then dnl This is for eCos with a stubbed DNS implementation AC_MSG_CHECKING([for gethostbyname for eCos]) AC_TRY_LINK([ #include <stdio.h> #include <netdb.h>], [gethostbyname("www.dummysite.com");], [ dnl worked! AC_MSG_RESULT([yes]) HAVE_GETHOSTBYNAME="1"], AC_MSG_RESULT(no) ) fi if test "$HAVE_GETHOSTBYNAME" != "1" then dnl gethostbyname in the net lib - for BeOS Loading lib/setup.h +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading lib/timeval.h +2 −1 Original line number Diff line number Diff line Loading @@ -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 src/setup.h +1 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,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 Loading Loading
configure.ac +15 −0 Original line number Diff line number Diff line Loading @@ -373,6 +373,21 @@ then ) fi if test "$HAVE_GETHOSTBYNAME" != "1" then dnl This is for eCos with a stubbed DNS implementation AC_MSG_CHECKING([for gethostbyname for eCos]) AC_TRY_LINK([ #include <stdio.h> #include <netdb.h>], [gethostbyname("www.dummysite.com");], [ dnl worked! AC_MSG_RESULT([yes]) HAVE_GETHOSTBYNAME="1"], AC_MSG_RESULT(no) ) fi if test "$HAVE_GETHOSTBYNAME" != "1" then dnl gethostbyname in the net lib - for BeOS Loading
lib/setup.h +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
lib/timeval.h +2 −1 Original line number Diff line number Diff line Loading @@ -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
src/setup.h +1 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,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 Loading