summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorsherpya <sherpya@netfarm.it>2015-05-20 04:30:11 +0200
committersherpya <sherpya@netfarm.it>2015-05-20 04:30:11 +0200
commita8e1c1c63f88ad4cbe7f164fcfcfa34fb60ae73b (patch)
tree543e3ed941d309741079aff8698ccdae78f70012 /Process.h
parentf4f6d54ffd820243862c6189176a3159d2ebd7a6 (diff)
added missing defines for android
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Process.h b/Process.h
index e1b7a8fa..ab7acb28 100644
--- a/Process.h
+++ b/Process.h
@@ -9,6 +9,11 @@ Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
+#ifdef __ANDROID__
+#define SYS_ioprio_get __NR_ioprio_get
+#define SYS_ioprio_set __NR_ioprio_set
+#endif
+
// On Linux, this works only with glibc 2.1+. On earlier versions
// the behavior is similar to have a hardcoded page size.
#ifndef PAGE_SIZE

© 2014-2024 Faster IT GmbH | imprint | privacy policy