49 typedef uint16_t u16_t;
50 typedef uint32_t u32_t;
51 typedef int32_t s32_t;
53 #define CC_CONF_REGISTER_ARGS 1
54 #define CC_CONF_FASTCALL __fastcall__
56 #define ARCH_DOESNT_NEED_ALIGNED_STRUCTS 1
62 #define snprintf(buf, len, ...) sprintf(buf, __VA_ARGS__)
64 #define CLOCK_CONF_SECOND 2
65 typedef unsigned short clock_time_t;
67 typedef unsigned short uip_stats_t;
69 #define UIP_ARCH_ADD32 1
70 #define UIP_ARCH_CHKSUM 1
72 #define UIP_CONF_LLH_LEN 14
73 #define RESOLV_CONF_SUPPORTS_MDNS 0
74 #define RESOLV_CONF_SUPPORTS_RECORD_EXPIRATION 0
75 #define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 1
77 #define LOADER_CONF_ARCH "lib/unload.h"
80 #define UIP_CONF_BUFFER_SIZE (UIP_LLH_LEN + MTU_SIZE)
82 #define UIP_CONF_BUFFER_SIZE (UIP_LLH_LEN + 1500)
86 #define UIP_CONF_MAX_CONNECTIONS CONNECTIONS
88 #define UIP_CONF_MAX_CONNECTIONS 10
92 #define LOG_CONF_ENABLED 1
93 #define UIP_CONF_LOGGING 1
95 #define LOG_CONF_ENABLED 0
96 #define UIP_CONF_LOGGING 0
100 #define UIP_CONF_TCP_SPLIT 1
102 #define UIP_CONF_TCP_SPLIT 0
106 #define UIP_CONF_IP_FORWARD 1
108 #define UIP_CONF_IP_FORWARD 0
112 #define UIP_CONF_ACTIVE_OPEN 1
114 #define UIP_CONF_ACTIVE_OPEN 0
118 #define UIP_CONF_UDP 1
120 #define UIP_CONF_UDP 0
123 #define CTK_CONF_WIDGET_FLAGS 0
124 #define CTK_CONF_WINDOWS 0
125 #define CTK_CONF_WINDOWMOVE 0
126 #define CTK_CONF_WINDOWCLOSE 0
127 #define CTK_CONF_ICONS 0
128 #define CTK_CONF_MENUS 0
129 #define CTK_CONF_SCREENSAVER 0
132 #define CTK_CONF_MOUSE_SUPPORT 1
134 #define CTK_CONF_MOUSE_SUPPORT 0
137 #define ctk_arch_keyavail kbhit
138 #define ctk_arch_getkey cgetc
139 #define ctk_arch_isprint isprint
141 #define CFS_CONF_OFFSET_TYPE off_t
144 #define cfs_open pfs_open
145 #define cfs_close pfs_close
146 #define cfs_read pfs_read
147 #define cfs_write pfs_write
148 #define cfs_seek pfs_seek
149 #define cfs_remove pfs_remove
151 #define CFS_READ (O_RDONLY)
152 #define CFS_WRITE (O_WRONLY | O_CREAT | O_TRUNC)
153 #define CFS_SEEK_SET (SEEK_SET)
154 #define CFS_SEEK_CUR (SEEK_CUR)
155 #define CFS_SEEK_END (SEEK_END)
156 #define cfs_open open
157 #define cfs_close close
158 #define cfs_read read
159 #define cfs_write write
160 #define cfs_seek lseek
161 #define cfs_remove remove