* aot-runtime.c (load_function): Use TARGET_X86 instead of __i386__.
svn path=/trunk/mono/; revision=156385
+2010-04-29 Zoltan Varga <vargaz@gmail.com>
+
+ * aot-runtime.c (load_function): Use TARGET_X86 instead of __i386__.
+
2010-04-28 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_got_info): Double the buffer size to avoid an assert.
} else if (!strcmp (ji->data.name, "mono_amd64_get_original_ip")) {
target = mono_amd64_get_original_ip;
#endif
-#ifdef __i386__
+#ifdef TARGET_X86
} else if (!strcmp (ji->data.name, "mono_x86_throw_exception")) {
target = mono_x86_throw_exception;
#endif
-#ifdef __i386__
+#ifdef TARGET_X86
} else if (!strcmp (ji->data.name, "mono_x86_throw_corlib_exception")) {
target = mono_x86_throw_corlib_exception;
#endif