Skip to content

Commit

Permalink
Use __EMSCRIPTEN__ instead of __USE_POSIX2
Browse files Browse the repository at this point in the history
  • Loading branch information
kon72 authored and drigz committed Sep 20, 2021
1 parent de81bb0 commit 3b6b05d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logging.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3b6b05d

Please sign in to comment.