Fix build with CS_ENABLE_STDIO=0

Closes https://github.com/cesanta/mongoose/pull/945

CL: Fix build with CS_ENABLE_STDIO=0

PUBLISHED_FROM=7d15f17fc42241facdba5b1004b5b7f3dda599dc
This commit is contained in:
Deomid Ryabkov authored and Cesanta Bot committed 2018-07-12 20:42:45 +00:00
1 parent 98c99279c3
commit 31632c6361
6 files changed
+30 -6

No files matched your search

+1 -2
View File
@@ -31,13 +31,12 @@ enum cs_log_level cs_log_threshold WEAK =
LL_ERROR;
#endif
#if CS_ENABLE_STDIO
static char *s_filter_pattern = NULL;
static size_t s_filter_pattern_len;
void cs_log_set_filter(const char *pattern) WEAK;
#if CS_ENABLE_STDIO
FILE *cs_log_file WEAK = NULL;
#if CS_LOG_ENABLE_TS_DIFF