Use __EMSCRIPTEN__ instead of __USE_POSIX2
This commit is contained in:
parent
de81bb0aac
commit
3b6b05d70b
@ -2148,7 +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
|
||||
#ifndef __EMSCRIPTEN__
|
||||
if (dest && *dest) {
|
||||
if ( use_logging ) {
|
||||
VLOG(1) << "Trying to send TITLE:" << subject
|
||||
|
||||
Loading…
Reference in New Issue
Block a user