Commit 24695e89 authored by Eli Zaretskii's avatar Eli Zaretskii

Unbreak the Cygw32 build

* src/emacs.c (main) [HAVE_NTGUI]: Remove code that is only
for WINDOWSNT or condition it on WINDOWSNT.  (Bug#34409)
parent b78363eb
Pipeline #733 failed with stage
in 49 minutes and 28 seconds
......@@ -912,7 +912,7 @@ main (int argc, char **argv)
gflags.will_not_unexec_ = true;
#endif
#if defined WINDOWSNT || defined HAVE_NTGUI
#ifdef WINDOWSNT
/* Grab our malloc arena space now, before anything important
happens. This relies on the static heap being needed only in
temacs and only if we are going to dump with unexec. */
......@@ -934,6 +934,8 @@ main (int argc, char **argv)
}
}
init_heap (use_dynamic_heap);
#endif
#if defined WINDOWSNT || defined HAVE_NTGUI
/* Set global variables used to detect Windows version. Do this as
early as possible. (w32proc.c calls this function as well, but
the additional call here is harmless.) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment