Fix link error for Emscripten

This commit is contained in:
kinsei0916 2021-09-20 10:15:01 +09:00 committed by Rodrigo Queiro
parent 9733727be4
commit de81bb0aac

View File

@ -2148,6 +2148,7 @@ static string ShellEscape(const string& src) {
// log_mutex.
static bool SendEmailInternal(const char*dest, const char *subject,
const char*body, bool use_logging) {
#ifdef __USE_POSIX2
if (dest && *dest) {
if ( use_logging ) {
VLOG(1) << "Trying to send TITLE:" << subject
@ -2190,6 +2191,7 @@ static bool SendEmailInternal(const char*dest, const char *subject,
}
}
}
#endif
return false;
}