Fix link error for Emscripten
This commit is contained in:
parent
9733727be4
commit
de81bb0aac
@ -2148,6 +2148,7 @@ static string ShellEscape(const string& src) {
|
|||||||
// log_mutex.
|
// log_mutex.
|
||||||
static bool SendEmailInternal(const char*dest, const char *subject,
|
static bool SendEmailInternal(const char*dest, const char *subject,
|
||||||
const char*body, bool use_logging) {
|
const char*body, bool use_logging) {
|
||||||
|
#ifdef __USE_POSIX2
|
||||||
if (dest && *dest) {
|
if (dest && *dest) {
|
||||||
if ( use_logging ) {
|
if ( use_logging ) {
|
||||||
VLOG(1) << "Trying to send TITLE:" << subject
|
VLOG(1) << "Trying to send TITLE:" << subject
|
||||||
@ -2190,6 +2191,7 @@ static bool SendEmailInternal(const char*dest, const char *subject,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user