* src/emacs.c (main) [HAVE_NTGUI]: Remove code that is only
for WINDOWSNT or condition it on WINDOWSNT. (Bug#34409)
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. */
}
}
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.) */