windows: need LWS_INLINE
This commit is contained in:
parent
6f13ccf7c3
commit
db26ccc38b
1 changed files with 6 additions and 6 deletions
|
@ -33,12 +33,6 @@ extern "C" {
|
|||
#include <stdarg.h>
|
||||
#endif
|
||||
|
||||
static inline int lws_is_be(void) {
|
||||
const int probe = ~0xff;
|
||||
|
||||
return *(const char *)&probe;
|
||||
}
|
||||
|
||||
#if defined(LWS_WITH_ESP8266)
|
||||
struct sockaddr_in;
|
||||
#define LWS_POSIX 0
|
||||
|
@ -292,6 +286,12 @@ LWS_VISIBLE LWS_EXTERN void lwsl_hexdump(void *buf, size_t len);
|
|||
|
||||
#endif
|
||||
|
||||
static LWS_INLINE int lws_is_be(void) {
|
||||
const int probe = ~0xff;
|
||||
|
||||
return *(const char *)&probe;
|
||||
}
|
||||
|
||||
/**
|
||||
* lws_set_log_level() - Set the logging bitfield
|
||||
* \param level: OR together the LLL_ debug contexts you want output from
|
||||
|
|
Loading…
Add table
Reference in a new issue