forked from pool/openjfx
15 lines
372 B
Diff
15 lines
372 B
Diff
|
--- a/modules/jdk.packager/src/main/native/library/common/PosixPlatform.cpp
|
||
|
+++ b/modules/jdk.packager/src/main/native/library/common/PosixPlatform.cpp
|
||
|
@@ -380,10 +380,7 @@ bool PosixProcess::Wait() {
|
||
|
int status = 0;
|
||
|
pid_t wpid = 0;
|
||
|
|
||
|
-#ifdef LINUX
|
||
|
- wait(&status);
|
||
|
-#endif
|
||
|
-#ifdef MAC
|
||
|
+#if defined(LINUX) || defined(MAC)
|
||
|
wpid = wait(&status);
|
||
|
#endif
|
||
|
|