Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Habersack <grendel@twistedcode.net>2017-10-03 21:17:26 +0300
committerGitHub <noreply@github.com>2017-10-03 21:17:26 +0300
commitef7a4c06206976de7ef2e974267407347ddb75a4 (patch)
tree5a86b9ae0d98cc09c0dcd640d1b07fcc03f54650 /support/fcntl.c
parent4f673eac7495cf6ce6520bcbf6901a4ba60e6bb5 (diff)
Prepare Mono for Android NDK with unified headers (#5680)
Up until NDK release 14 Android SDK included a separate set of C header files for each supported platform. NDK 14 introduced a new set of those headers (they are NOT the same as the old ones) which unifies support for all of the platforms so that bug fixes are available for all the API levels without having to backport etc. With NDK 15 the unified headers become the default ones (including when creating standalone toolchains) and with NDK 16 (in beta currently) the old per-platform headers are removed. Unfortunately, the new headers introduce breaking changes which made it impossible to build Mono with NDK configured to use them. This commit makes a handful of changes to Mono which make it build with unified headers.
Diffstat (limited to 'support/fcntl.c')
-rw-r--r--support/fcntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/fcntl.c b/support/fcntl.c
index 900a58f8104..1fd324e399f 100644
--- a/support/fcntl.c
+++ b/support/fcntl.c
@@ -22,8 +22,8 @@
#include <corecrt_io.h>
#endif
+#include "mph.h" /* Don't remove or move after map.h! Works around issues with Android SDK unified headers */
#include "map.h"
-#include "mph.h"
G_BEGIN_DECLS