19#ifndef NETSURF_UTILS_CONFIG_H_
20#define NETSURF_UTILS_CONFIG_H_
24#if defined(__NetBSD__)
26#if (defined(__NetBSD_Version__) && __NetBSD_Prereq__(8,0,0))
33#if (defined(_GNU_SOURCE) && \
34 !defined(__APPLE__) || \
35 defined(__amigaos4__) || \
36 defined(__HAIKU__) || \
37 (defined(_POSIX_C_SOURCE) && ((_POSIX_C_SOURCE - 0) >= 200809L)) && \
42char *
strndup(
const char *s,
size_t n);
45#if ((defined(_GNU_SOURCE) || \
46 defined(__APPLE__) || \
47 defined(__HAIKU__) || \
48 defined(__NetBSD__) || \
49 defined(__OpenBSD__)) && \
50 !defined(__serenity__))
51#define HAVE_STRCASESTR
54char *
strcasestr(
const char *haystack,
const char *needle);
60#if (defined(_WIN32) || \
61 defined(__riscos__) || \
62 defined(__HAIKU__) || \
63 defined(__BEOS__) || \
64 defined(__amigaos4__) || \
65 defined(__AMIGA__) || \
77#if ((defined(_GNU_SOURCE) && !defined(__APPLE__)) || \
78 defined(__riscos__) || \
90#if !defined(__amigaos4__) && defined(__AMIGA__)
94#define HAVE_SYS_SELECT
95#define HAVE_POSIX_INET_HEADERS
98#undef HAVE_POSIX_INET_HEADERS
102#if (defined(_WIN32) || \
103 defined(__serenity__))
139#if (defined(_WIN32) || defined(__riscos__) || defined(__HAIKU__) || defined(__BEOS__) || defined(__amigaos4__) || defined(__AMIGA__) || defined(__MINT__))
144#if (defined(_WIN32) || \
145 defined(__serenity__))
152#if (defined(_WIN32) || defined(__riscos__) || defined(__HAIKU__) || defined(__BEOS__) || defined(__amigaos4__) || defined(__AMIGA__) || defined(__MINT__))
159#if (defined(__serenity__))
164#if ((defined(__linux__) && defined(__GLIBC__) && !defined(__UCLIBC__)) || \
178 #define WITH_THEME_INSTALL
179#elif defined(__HAIKU__) || defined(__BEOS__)
182 #if defined(__HAIKU__)
185 #if defined(__BEOS__)
195#if (defined(__amigaos4__) || \
196 defined(__AMIGA__) || \
197 defined(nsatari) || \
198 defined(__serenity__))
char * strcasestr(const char *haystack, const char *needle)
Case insensitive strstr implementation.
char * strndup(const char *s, size_t n)
Duplicate up to n characters of a string.
char * strchrnul(const char *s, int c)
Find the first occurrence of C in S or the final NUL byte.
char * realpath(const char *f, char *buf)
Netsurf additional integer type formatting macros.
static nserror path(const struct redraw_context *ctx, const plot_style_t *pstyle, const float *p, unsigned int n, const float transform[6])
Plots a path.