Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6be460d5 authored by Kenny Root's avatar Kenny Root
Browse files

Add HAVE_PREAD definition to platforms

ZipFileRO uses pread() to guarantee atomic reads at an offset, so use
the HAVE_PREAD flag to trigger off of. The only platform that doesn't
implement it directly is Windows.

Change-Id: Ic927611dc45b75ff8f672ed59afee5be1ad07ab4
parent 912ff85b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -285,4 +285,9 @@
 */
#define HAVE_SCHED_H 1

/*
 * Define if pread() exists
 */
#define HAVE_PREAD 1

#endif /*_ANDROID_CONFIG_H*/
+5 −0
Original line number Diff line number Diff line
@@ -344,4 +344,9 @@
 */
#define HAVE_SCHED_H 1

/*
 * Define if pread() exists
 */
#define HAVE_PREAD 1

#endif /*_ANDROID_CONFIG_H*/
+5 −0
Original line number Diff line number Diff line
@@ -339,4 +339,9 @@
 */
#define HAVE_SCHED_H 1

/*
 * Define if pread() exists
 */
#define HAVE_PREAD 1

#endif /* _ANDROID_CONFIG_H */
+5 −0
Original line number Diff line number Diff line
@@ -346,4 +346,9 @@
 */
#define HAVE_UNWIND_CONTEXT_STRUCT

/*
 * Define if pread() exists
 */
#define HAVE_PREAD 1

#endif /* _ANDROID_CONFIG_H */
+5 −0
Original line number Diff line number Diff line
@@ -313,4 +313,9 @@
 */
#define HAVE_SCHED_H 1

/*
 * Define if pread() exists
 */
#define HAVE_PREAD 1

#endif /*_ANDROID_CONFIG_H*/
Loading