log: don't disable debug log for emscripten

This commit is contained in:
Andrei Alexeyev 2024-10-24 00:59:06 +02:00
parent 2a17e82f9d
commit e3ff572d90
No known key found for this signature in database
GPG key ID: 72D26128040B9690

View file

@ -142,7 +142,7 @@ void log_add_filter(LogLevelDiff diff, const char *pmod, const char *pfunc);
bool log_add_filter_string(const char *fstr); bool log_add_filter_string(const char *fstr);
void log_remove_filters(void); void log_remove_filters(void);
#if defined(DEBUG) && !defined(__EMSCRIPTEN__) #if defined(DEBUG)
#define log_debug(...) log_custom(LOG_DEBUG, __VA_ARGS__) #define log_debug(...) log_custom(LOG_DEBUG, __VA_ARGS__)
#else #else
#define log_debug(...) ((void)0) #define log_debug(...) ((void)0)