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:
Andy Ning 2017-05-26 09:33:55 -04:00 committed by Andy Green
parent 978605b39e
commit ce2e74e5e3

View file

@ -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