Skip to content
Snippets Groups Projects
Commit 475feefe authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4165 51575b47-30f0-44d4-a5cc-537603b46e54
parent 5eafcb5d
No related branches found
No related tags found
No related merge requests found
......@@ -889,6 +889,10 @@ int main(int argc, char *argv[])
core_def->define = &define_core;
core_def->define(core_def, "te4core", -1, NULL, NULL, NULL, NULL, 0, NULL);
#ifdef SELFEXE_WINDOWS
freopen ("te4_log.txt", "w", stdout);
#endif
// Parse arguments
int i;
for (i = 1; i < argc; i++)
......@@ -902,10 +906,6 @@ int main(int argc, char *argv[])
if (!strncmp(arg, "--no-debug", 10)) no_debug = TRUE;
}
#ifdef SELFEXE_WINDOWS
freopen ("te4_log.txt", "w", stdout);
#endif
// Get cpu cores
nb_cpus = get_number_cpus();
printf("[CPU] Detected %d CPUs\n", nb_cpus);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment