projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[utils] Add check for ANDROID_UNIFIED_HEADERS to mono-compiler.h (#5742)
[mono.git]
/
mono
/
utils
/
mono-compiler.h
diff --git
a/mono/utils/mono-compiler.h
b/mono/utils/mono-compiler.h
index 50a91886fc17690f5e4ed2df3e7458bd8f10c227..f8481d004d10e34da4cf629fef17b4bf38190137 100644
(file)
--- a/
mono/utils/mono-compiler.h
+++ b/
mono/utils/mono-compiler.h
@@
-134,7
+134,7
@@
typedef SSIZE_T ssize_t;
#endif
/* Used when building with Android NDK's unified headers */
#endif
/* Used when building with Android NDK's unified headers */
-#if defined(HOST_ANDROID)
+#if defined(HOST_ANDROID)
&& defined (ANDROID_UNIFIED_HEADERS)
#if __ANDROID_API__ < 21
typedef int32_t __mono_off32_t;
#if __ANDROID_API__ < 21
typedef int32_t __mono_off32_t;
@@
-163,7
+163,7
@@
ssize_t sendfile (int out_fd, int in_fd, __mono_off32_t* offset, size_t count);
#endif /* !sendfile */
#endif /* __ANDROID_API__ < 21 */
#endif /* !sendfile */
#endif /* __ANDROID_API__ < 21 */
-#endif /* HOST_ANDROID */
+#endif /* HOST_ANDROID
&& ANDROID_UNIFIED_HEADERS
*/
#endif /* __UTILS_MONO_COMPILER_H__*/
#endif /* __UTILS_MONO_COMPILER_H__*/