summaryrefslogtreecommitdiff
path: root/dev-java/openjfx/files/8/0000-Fix-wait-call-in-PosixPlatform.patch
blob: fee211fd877032c72942224a2a8e8ecb6767fc2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- rt-8u202-b02/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp	2018-10-29 16:26:04.000000000 +0100
+++ rt-8u202-b02-patched/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp	2018-11-27 15:34:52.170181958 +0100
@@ -232,10 +232,7 @@
     pid_t wpid = 0;
 
     //TODO Use waitpid instead of wait
-#ifdef LINUX
-    wait(&status);
-#endif
-#ifdef MAC
+#if defined(LINUX) || defined(MAC)
     wpid = wait(&status);
 #endif