mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-24 02:59:01 +08:00
Add C decls to TI platform headers
h/t @kzyapkov, cesanta/mongoose#649 PUBLISHED_FROM=c21158c9476b9a4abd281ec99c7fa62ea5e708b8
This commit is contained in:
parent
6b51ec3371
commit
38752f1327
16
mongoose.h
16
mongoose.h
@ -443,6 +443,10 @@ typedef struct stat cs_stat_t;
|
||||
|
||||
/* Some functions we implement for Mongoose. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __TI_COMPILER_VERSION__
|
||||
struct SlTimeval_t;
|
||||
#define timeval SlTimeval_t
|
||||
@ -510,6 +514,10 @@ struct dirent *readdir(DIR *dir);
|
||||
#define MG_FS_SLFS
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* CS_PLATFORM == CS_P_CC3200 */
|
||||
#endif /* CS_COMMON_PLATFORMS_PLATFORM_CC3200_H_ */
|
||||
/*
|
||||
@ -557,6 +565,10 @@ typedef struct stat cs_stat_t;
|
||||
|
||||
/* Some functions we implement for Mongoose. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __TI_COMPILER_VERSION__
|
||||
struct SlTimeval_t;
|
||||
#define timeval SlTimeval_t
|
||||
@ -604,6 +616,10 @@ int _stat(const char *pathname, struct stat *st);
|
||||
|
||||
#endif /* __TI_COMPILER_VERSION__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* CS_PLATFORM == CS_P_MSP432 */
|
||||
#endif /* CS_COMMON_PLATFORMS_PLATFORM_MSP432_H_ */
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user