Subject: lws_stats: fix compile error on VS2013
Use LWS_INLINE instead of inline in libwebsockets.h to make it compatible on both Linux and Windows. Signed-off-by: Andy Ning <andy.ning@windriver.com>
This commit is contained in:
parent
978605b39e
commit
ce2e74e5e3
1 changed files with 2 additions and 2 deletions
|
@ -4904,9 +4904,9 @@ lws_stats_get(struct lws_context *context, int index);
|
|||
LWS_VISIBLE LWS_EXTERN void
|
||||
lws_stats_log_dump(struct lws_context *context);
|
||||
#else
|
||||
static inline uint64_t
|
||||
static LWS_INLINE uint64_t
|
||||
lws_stats_get(struct lws_context *context, int index) { return 0; }
|
||||
static inline void
|
||||
static LWS_INLINE void
|
||||
lws_stats_log_dump(struct lws_context *context) { }
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue