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:
authorJoshua Peterson <petersonjm1@gmail.com>2018-03-16 02:01:30 +0300
committerLudovic Henry <luhenry@microsoft.com>2018-03-16 02:01:30 +0300
commit2883e562e2d28075482868cfca11840e125fd812 (patch)
tree0c1d2220550123c453ff26fb5ead76897e1e0b70 /winconfig.h
parent2d0eee9ae330f832937f5885f4eb5a960dce91d1 (diff)
Fix platform-specific build issues (#7342)
* Fix platform-specific build issues These changes allow some of the Mono code used by the debugger to build on a few additional platforms. Specifically, this includes platforms: * That don't have access to the full Win32 API * That don't have access to the full Posix API * That don't support IPv6 * Wrap `access` and `_access` in `g_access` * Convert indentation to tabs * Wrap `mktemp` and `_mktemp` in `g_mktemp` * Wrap `open` and `_open` in `g_open` * Wrap `write` and `_write` in `g_write` * Fix indentation * Use proper asserts * Add a configure check for `access` * Remove the use of HAVE_XBOXONE_WINAPI_SUPPORT * Replace the previous definition of `g_open` I missed that it was here in my earlier commit, and ended up redefining it. * Use `g_error` instead of `g_assert(0)`
Diffstat (limited to 'winconfig.h')
-rw-r--r--winconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/winconfig.h b/winconfig.h
index 3d9313f5be2..145b0c13c3d 100644
--- a/winconfig.h
+++ b/winconfig.h
@@ -595,6 +595,9 @@
/* Defined as strtok_s in eglib-config.hw */
#define HAVE_STRTOK_R 1
+/* Define to 1 if you have the `access' function. */
+#define HAVE_ACCESS 1
+
/* Have a working sigaltstack */
/* #undef HAVE_WORKING_SIGALTSTACK */