diff options
Diffstat (limited to 'utils/config.h')
-rw-r--r-- | utils/config.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/utils/config.h b/utils/config.h index ddd1c6e8e..075287684 100644 --- a/utils/config.h +++ b/utils/config.h @@ -66,19 +66,23 @@ char *strchrnul(const char *s, int c); #undef HAVE_SYS_SELECT #undef HAVE_POSIX_INET_HEADERS #endif - +#if (defined(_TARGET_IS_KOLIBRIOS)) +#undef HAVE_INETATON +#undef HAVE_POSIX_INET_HEADERS +#endif + #define HAVE_INETPTON -#if (defined(_WIN32)) +#if (defined(_WIN32)) || (defined(_TARGET_IS_KOLIBRIOS)) #undef HAVE_INETPTON #endif #define HAVE_UTSNAME -#if (defined(_WIN32)) +#if (defined(_WIN32)) || (defined(_TARGET_IS_KOLIBRIOS)) #undef HAVE_UTSNAME #endif #define HAVE_REALPATH -#if (defined(_WIN32)) +#if (defined(_WIN32)) || (defined(_TARGET_IS_KOLIBRIOS)) #undef HAVE_REALPATH char *realpath(const char *path, char *resolved_path); #endif @@ -99,7 +103,7 @@ char *realpath(const char *path, char *resolved_path); #endif #define HAVE_MMAP -#if (defined(_WIN32) || defined(__riscos__) || defined(__HAIKU__) || defined(__BEOS__) || defined(__amigaos4__) || defined(__AMIGA__) || defined(__MINT__)) +#if (defined(_WIN32) || defined(__riscos__) || defined(__HAIKU__) || defined(__BEOS__) || defined(__amigaos4__) || defined(__AMIGA__) || defined(__MINT__)) || defined(_TARGET_IS_KOLIBRIOS) #undef HAVE_MMAP #endif @@ -139,4 +143,9 @@ char *realpath(const char *path, char *resolved_path); #define NO_IPV6 #endif +/* kolibriOS */ +#if defined(_TARGET_IS_KOLIBRIOS) +#define NO_IPV6 +#endif + #endif |