Browse Source
As suggested in https://github.com/termux/termux-packages/issues/5048#issuecomment-614472026.master
Leonid Plyushch
5 years ago
4 changed files with 14 additions and 14 deletions
@ -0,0 +1,12 @@ |
|||||
|
diff -uNr boinc-client_release-7.16-7.16.6/lib/synch.cpp boinc-client_release-7.16-7.16.6.mod/lib/synch.cpp
|
||||
|
--- boinc-client_release-7.16-7.16.6/lib/synch.cpp 2020-03-23 07:13:30.000000000 +0200
|
||||
|
+++ boinc-client_release-7.16-7.16.6.mod/lib/synch.cpp 2020-04-16 14:37:09.972107225 +0300
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
|
||||
|
// interfaces for accessing sempahores |
||||
|
|
||||
|
-#ifndef ANDROID
|
||||
|
+#ifndef __ANDROID__
|
||||
|
|
||||
|
#include "config.h" |
||||
|
#include <cstdio> |
@ -1,12 +0,0 @@ |
|||||
diff -uNr boinc-client_release-7.14-7.14.3/lib/synch.h boinc-client_release-7.14-7.14.3.mod/lib/synch.h
|
|
||||
--- boinc-client_release-7.14-7.14.3/lib/synch.h 2020-03-10 01:47:48.000000000 +0000
|
|
||||
+++ boinc-client_release-7.14-7.14.3.mod/lib/synch.h 2020-03-20 10:26:50.144236854 +0000
|
|
||||
@@ -18,7 +18,7 @@
|
|
||||
#ifndef BOINC_SYNCH_H |
|
||||
#define BOINC_SYNCH_H |
|
||||
|
|
||||
-#include <sys/sem.h>
|
|
||||
+#include <linux/sem.h>
|
|
||||
|
|
||||
extern int create_semaphore(key_t); |
|
||||
extern int destroy_semaphore(key_t); |
|
Loading…
Reference in new issue