mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-01 07:59:00 +08:00
NO_WEBSOCKET -> MONGOOSE_NO_WEBSOCKET
This commit is contained in:
parent
1c914bde1d
commit
60858d7fe5
@ -1671,7 +1671,7 @@ void mg_printf_data(struct mg_connection *c, const char *fmt, ...) {
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
#if !defined(NO_WEBSOCKET) || !defined(MONGOOSE_NO_AUTH)
|
||||
#if !defined(MONGOOSE_NO_WEBSOCKET) || !defined(MONGOOSE_NO_AUTH)
|
||||
static int is_big_endian(void) {
|
||||
static const int n = 1;
|
||||
return ((char *) &n)[0] == 0;
|
||||
|
Loading…
Reference in New Issue
Block a user