mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-19 19:40:56 +00:00
Make tests work on public repo as well
PUBLISHED_FROM=78acb18d597b6f47f31da13087fa6685f21ce445
This commit is contained in:
1 parent
3eb4eb8074
commit
7bf5144e62
145 files changed
+30660
-16
No files matched your search
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2016 Cesanta Software Limited
|
||||
* All rights reserved
|
||||
*/
|
||||
|
||||
#ifndef CS_COMMON_PLATFORMS_PLATFORM_TM4C129_H_
|
||||
#define CS_COMMON_PLATFORMS_PLATFORM_TM4C129_H_
|
||||
#if CS_PLATFORM == CS_P_TM4C129
|
||||
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifndef __TI_COMPILER_VERSION__
|
||||
#include <fcntl.h>
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define SIZE_T_FMT "u"
|
||||
typedef struct stat cs_stat_t;
|
||||
#define DIRSEP '/'
|
||||
#define to64(x) strtoll(x, NULL, 10)
|
||||
#define INT64_FMT PRId64
|
||||
#define INT64_X_FMT PRIx64
|
||||
#define __cdecl
|
||||
|
||||
#ifndef MG_NET_IF
|
||||
#include <lwip/opt.h>
|
||||
#if LWIP_SOCKET
|
||||
#define MG_NET_IF MG_NET_IF_SOCKET
|
||||
#else
|
||||
#define MG_NET_IF MG_NET_IF_LWIP_LOW_LEVEL
|
||||
#endif
|
||||
#define MG_LWIP 1
|
||||
#elif MG_NET_IF == MG_NET_IF_SIMPLELINK
|
||||
#include "common/platforms/simplelink/cs_simplelink.h"
|
||||
#endif
|
||||
|
||||
#ifndef CS_ENABLE_STDIO
|
||||
#define CS_ENABLE_STDIO 1
|
||||
#endif
|
||||
|
||||
#ifdef __TI_COMPILER_VERSION__
|
||||
/* As of 5.2.8, TI compiler does not support va_copy() yet. */
|
||||
#define va_copy(apc, ap) ((apc) = (ap))
|
||||
#endif /* __TI_COMPILER_VERSION__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* CS_PLATFORM == CS_P_TM4C129 */
|
||||
#endif /* CS_COMMON_PLATFORMS_PLATFORM_TM4C129_H_ */
|
||||
Reference in new issue
Block a user