From: lateralusX Date: Tue, 12 Jul 2016 07:24:38 +0000 (+0200) Subject: Fix windows build issue due to missing export in def files. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=5e296bd1611a5b9d4cbead70479469f8dd2bea8b;hp=265b8077b0fe07fea957d5bf9059fc4706ebf0a6;p=mono.git Fix windows build issue due to missing export in def files. --- diff --git a/msvc/create-windef.pl b/msvc/create-windef.pl index e7ad3d3cf9c..7d588b915df 100755 --- a/msvc/create-windef.pl +++ b/msvc/create-windef.pl @@ -30,7 +30,7 @@ push @symbols, "MonoFixupCorEE"; open (OUT, ">$outfile") || die "Cannot open '$outfile': $!\n"; print OUT "; file generated by create-windef.pl\n"; -#print OUT "LIBRARY $dllname\nEXPORTS\n"; +print OUT "EXPORTS\n"; print OUT join ("\n", @symbols); print OUT "\n"; diff --git a/msvc/mono.def b/msvc/mono.def index 3fc85bbee15..2251543e666 100644 --- a/msvc/mono.def +++ b/msvc/mono.def @@ -1,6 +1,5 @@ ; file generated by create-windef.pl EXPORTS -g_mem_set_vtable MonoFixupCorEE mono_add_internal_call mono_aot_get_method @@ -424,6 +423,7 @@ mono_get_uint64_class mono_get_uintptr_class mono_get_void_class mono_guid_to_string +mono_guid_to_string_minimal mono_image_add_to_name_cache mono_image_addref mono_image_close @@ -506,6 +506,12 @@ mono_lock_free_queue_init mono_lock_free_queue_node_init mono_lock_free_queue_node_unpoison mono_locks_dump +mono_log_close_logfile +mono_log_close_syslog +mono_log_open_logfile +mono_log_open_syslog +mono_log_write_logfile +mono_log_write_syslog mono_lookup_icall_symbol mono_lookup_internal_call mono_lookup_pinvoke_call @@ -770,6 +776,7 @@ mono_security_core_clr_require_elevated_permissions mono_security_core_clr_set_options mono_security_enable_core_clr mono_security_set_core_clr_platform_callback +mono_set_allocator_vtable mono_set_assemblies_path mono_set_break_policy mono_set_config_dir @@ -853,14 +860,20 @@ mono_threads_attach_coop mono_threads_attach_tools_thread mono_threads_detach_coop mono_threads_enter_gc_safe_region +mono_threads_enter_gc_safe_region_unbalanced mono_threads_enter_gc_unsafe_region +mono_threads_enter_gc_unsafe_region_unbalanced mono_threads_exit_gc_safe_region +mono_threads_exit_gc_safe_region_unbalanced mono_threads_exit_gc_unsafe_region +mono_threads_exit_gc_unsafe_region_unbalanced mono_threads_get_default_stacksize mono_threads_request_thread_dump mono_threads_set_default_stacksize mono_trace_set_level_string mono_trace_set_log_handler +mono_trace_set_logdest_string +mono_trace_set_logheader_string mono_trace_set_mask_string mono_trace_set_print_handler mono_trace_set_printerr_handler diff --git a/msvc/monosgen.def b/msvc/monosgen.def index 6d97250c240..1f82284e7c2 100644 --- a/msvc/monosgen.def +++ b/msvc/monosgen.def @@ -1,6 +1,5 @@ ; file generated by create-windef.pl EXPORTS -g_mem_set_vtable MonoFixupCorEE mono_add_internal_call mono_aot_get_method @@ -426,6 +425,7 @@ mono_get_uint64_class mono_get_uintptr_class mono_get_void_class mono_guid_to_string +mono_guid_to_string_minimal mono_image_add_to_name_cache mono_image_addref mono_image_close @@ -508,6 +508,12 @@ mono_lock_free_queue_init mono_lock_free_queue_node_init mono_lock_free_queue_node_unpoison mono_locks_dump +mono_log_close_logfile +mono_log_close_syslog +mono_log_open_logfile +mono_log_open_syslog +mono_log_write_logfile +mono_log_write_syslog mono_lookup_icall_symbol mono_lookup_internal_call mono_lookup_pinvoke_call @@ -772,6 +778,7 @@ mono_security_core_clr_require_elevated_permissions mono_security_core_clr_set_options mono_security_enable_core_clr mono_security_set_core_clr_platform_callback +mono_set_allocator_vtable mono_set_assemblies_path mono_set_break_policy mono_set_config_dir @@ -855,14 +862,20 @@ mono_threads_attach_coop mono_threads_attach_tools_thread mono_threads_detach_coop mono_threads_enter_gc_safe_region +mono_threads_enter_gc_safe_region_unbalanced mono_threads_enter_gc_unsafe_region +mono_threads_enter_gc_unsafe_region_unbalanced mono_threads_exit_gc_safe_region +mono_threads_exit_gc_safe_region_unbalanced mono_threads_exit_gc_unsafe_region +mono_threads_exit_gc_unsafe_region_unbalanced mono_threads_get_default_stacksize mono_threads_request_thread_dump mono_threads_set_default_stacksize mono_trace_set_level_string mono_trace_set_log_handler +mono_trace_set_logdest_string +mono_trace_set_logheader_string mono_trace_set_mask_string mono_trace_set_print_handler mono_trace_set_printerr_handler