qulogic/libgnt
Clone
Summary
Browse
Changes
Graph
Skip a fork() in a test on Windows.
2019-10-07, Elliott Sales de Andrade
68da4b7ffaba
Parents
ba0a1cf21c46
Children
8e797d173483
Skip a fork() in a test on Windows.
1 files changed, 2 insertions(+), 0 deletions(-)
+2
-0
test/tv.c
--- a/test/tv.c Wed Oct 02 02:04:49 2019 -0400
+++ b/test/tv.c Mon Oct 07 02:32:27 2019 -0400
@@ -27,6 +27,7 @@
return TRUE;
+#ifndef _WIN32
} else if (strcmp(key, "\033e") == 0) {
if (fork() == 0) {
endwin();
@@ -37,6 +38,7 @@
refresh();
exit(0);
}
+#endif
} else if (key[0] == 27) {
if (strcmp(key, GNT_KEY_UP) == 0)