#ifndef CS_COMMON_PLATFORMS_PLATFORM_PIC32_H_ #define CS_COMMON_PLATFORMS_PLATFORM_PIC32_H_ #if CS_PLATFORM == CS_P_PIC32 #define MG_NET_IF MG_NET_IF_PIC32 #include #include #include #include #include #include #include typedef TCP_SOCKET sock_t; #define to64(x) strtoll(x, NULL, 10) #define SIZE_T_FMT "lu" #define INT64_FMT "lld" #ifndef CS_ENABLE_STDIO #define CS_ENABLE_STDIO 1 #endif char *inet_ntoa(struct in_addr in); #endif /* CS_PLATFORM == CS_P_PIC32 */ #endif /* CS_COMMON_PLATFORMS_PLATFORM_PIC32_H_ */