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:
authorZoltan Varga <vargaz@gmail.com>2018-08-02 12:22:04 +0300
committerGitHub <noreply@github.com>2018-08-02 12:22:04 +0300
commit8dd7af7d7ec665d9075aad1ddc2f89f50fafc65c (patch)
treeaa0e314b193496d5180fe20942de9cdcf302e532 /winconfig.h
parentfeaf8ee391a09fbff2137905ac7139f9bacc99fa (diff)
[runtime] Cross32 changes. (#9840)
* [offsets-tool] Add i386-apple-darwin11.2.0 as an abi target, used only for development. * [offset-tool] Emit sizes for structures. * [runtime] Cleanup the cross targets in configure.ac and add more target defines. Redefine SIZEOF_REGISTER to refer to the target size. Add TARGET_SIZEOF_VOID_P define and target_mgreg_t type. * [runtime] Add missing object offsets for x86. * [runtime] Avoid trying to execute assembly load hooks in aot mode. * [runtime] Fix the windows build. * [offset-tool] Fix indentation. * [runtime] Add a mono_gc_get_target_card_table () function which is the same as mono_gc_get_card_table () but returns information for the target. Use it in the JIT and in places where we generate IL code. * [aot] Save the card table parameters in the AOT image and check them at load time. * Fix llvm support.
Diffstat (limited to 'winconfig.h')
-rw-r--r--winconfig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winconfig.h b/winconfig.h
index 3a2bb8a32f5..b8f18bf1c4a 100644
--- a/winconfig.h
+++ b/winconfig.h
@@ -668,8 +668,10 @@
/* The size of a `void *', as computed by sizeof. */
#ifdef _WIN64
#define SIZEOF_VOID_P 8
+#define TARGET_SIZEOF_VOID_P 8
#else
#define SIZEOF_VOID_P 4
+#define TARGET_SIZEOF_VOID_P 4
#endif
#define SIZEOF_REGISTER SIZEOF_VOID_P