blob: 4a482240dc6b3fcc435bf30bb5678e6fd9c0b512 (
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
+++ rt-8u202-b02-patched/modules/fxpackager/src/main/native/library/common/PosixPlatform.cpp
@@ -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
|