summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-22 13:55:35 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-22 13:55:35 +0200
commit60813dce0d8282fb36c1730fd83bb0e9ee61bdce (patch)
tree8f457f8a7379c83cd17bc90045b457e29f74e9ed
parentadd3589dd44b9dbedcd59a978a38758908db1ae4 (diff)
skip atexit on all platforms
-rw-r--r--facetracknoir/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/facetracknoir/main.cpp b/facetracknoir/main.cpp
index 7fb37864..d8731b58 100644
--- a/facetracknoir/main.cpp
+++ b/facetracknoir/main.cpp
@@ -6,6 +6,8 @@
#ifndef _WIN32
# include <unistd.h>
+#else
+# include <windows.h>
#endif
int main(int argc, char** argv)
@@ -37,9 +39,7 @@ int main(int argc, char** argv)
w->show();
app.exec();
-#ifndef _WIN32
_exit(0);
-#endif
return 0;
}