NO_WEBSOCKET -> MONGOOSE_NO_WEBSOCKET

This commit is contained in:
Sergey Lyubka 2014-02-04 19:57:00 +00:00
parent 1c914bde1d
commit 60858d7fe5

View File

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