Loading...
Searching...
No Matches
3#ifndef CLICK_CONFIG_MINIOS_H
4#define CLICK_CONFIG_MINIOS_H
7#define HAVE_BYTESWAP_H 1
10#define HAVE_CLOCK_GETTIME 1
14#define HAVE_DECL_CLOCK_GETTIME 1
26#define HAVE_FLOAT_TYPES 1
29#define HAVE_IFADDRS_H 1
32#define HAVE_INT64_IS_LONG_MINIOS 1
35#define HAVE_INT64_IS_LONG_LONG_MINIOS 0
38#define HAVE_INTTYPES_H 1
62#define HAVE_NETPACKET_PACKET_H 1
71#define HAVE_PLACEMENT_NEW 1
77#define HAVE_SNPRINTF 1
80#define HAVE_STRERROR 1
83#define HAVE_STRINGS_H 1
101#define HAVE_UNISTD_H 1
104#define HAVE_VSNPRINTF 1
107#define SIZEOF_CLICK_JIFFIES_T SIZEOF_INT
110#define SIZEOF_OFF_T 8
113#define HAVE_PORTABLE_LLRPC 1
116#if HAVE_LARGE_FILE_SUPPORT && HAVE_INT64_TYPES
117# if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS != 64
118# error "bad _FILE_OFFSET_BITS, did you #include <click/config.h> first?"
120# define _LARGEFILE_SOURCE 1
121# define _FILE_OFFSET_BITS 64
124# define _DARWIN_UNLIMITED_SELECT 1
128#ifdef HAVE_INTTYPES_H
129# include <inttypes.h>
131#include <sys/types.h>
134#ifdef HAVE_U_INT_TYPES
135typedef u_int8_t uint8_t;
136typedef u_int16_t uint16_t;
137typedef u_int32_t uint32_t;
138# ifdef HAVE_INT64_TYPES
139typedef u_int64_t uint64_t;
141typedef long intptr_t;
142typedef unsigned long uintptr_t;
146#ifdef HAVE_INT64_IS_LONG_MINIOS
147# define HAVE_INT64_IS_LONG HAVE_INT64_IS_LONG_MINIOS
151#ifdef HAVE_INT64_IS_LONG_LONG_MINIOS
152# define HAVE_INT64_IS_LONG_LONG HAVE_INT64_IS_LONG_LONG_MINIOS
156#ifdef HAVE_INT64_TYPES
157# define HAVE_INT64_DIVIDE 1
161#ifndef HAVE_USE_CLOCK_GETTIME
162# if HAVE_DECL_CLOCK_GETTIME && HAVE_CLOCK_GETTIME
163# define HAVE_USE_CLOCK_GETTIME 1
174#include <mini-os/os.h>
180#if defined(HAVE_SYS_MMAN_H) && defined(HAVE_MMAP)
186char *strerror(
int errno);
190#if HAVE_NANOTIMESTAMP_ENABLED
191# define TIMESTAMP_NANOSEC 1
202inline void *
operator new(size_t,
void *v) {
return v; }
208# define CLICK_ENDDECLS
209# define CLICK_USING_DECLS
210# define CLICK_NAME(name) ::name