aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Corallo2020-08-24 10:28:59 +0200
committerAndrea Corallo2020-08-26 21:25:45 +0200
commit51acfeef6a5cf4dce2c80f56fbe0d8b0aa3d660c (patch)
tree080ffc436e222d39b0ac75e62d4e699dd04a390a
parent63f041c0a467e49599facf8a6992dcc20ef71eaf (diff)
downloademacs-51acfeef6a5cf4dce2c80f56fbe0d8b0aa3d660c.tar.gz
emacs-51acfeef6a5cf4dce2c80f56fbe0d8b0aa3d660c.zip
* Init gcc_jit_context_add_driver_option as optional
* src/comp.c (init_gccjit_functions): Use LOAD_DLL_FN_OPT to init 'gcc_jit_context_add_driver_option' as this is optional.
-rw-r--r--src/comp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp.c b/src/comp.c
index a553a4bc7e3..e6fa10cf553 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -259,7 +259,6 @@ init_gccjit_functions (void)
259 LOAD_DLL_FN (library, gcc_jit_block_end_with_return); 259 LOAD_DLL_FN (library, gcc_jit_block_end_with_return);
260 LOAD_DLL_FN (library, gcc_jit_block_end_with_void_return); 260 LOAD_DLL_FN (library, gcc_jit_block_end_with_void_return);
261 LOAD_DLL_FN (library, gcc_jit_context_acquire); 261 LOAD_DLL_FN (library, gcc_jit_context_acquire);
262 LOAD_DLL_FN (library, gcc_jit_context_add_driver_option);
263 LOAD_DLL_FN (library, gcc_jit_context_compile_to_file); 262 LOAD_DLL_FN (library, gcc_jit_context_compile_to_file);
264 LOAD_DLL_FN (library, gcc_jit_context_dump_reproducer_to_file); 263 LOAD_DLL_FN (library, gcc_jit_context_dump_reproducer_to_file);
265 LOAD_DLL_FN (library, gcc_jit_context_dump_to_file); 264 LOAD_DLL_FN (library, gcc_jit_context_dump_to_file);
@@ -305,6 +304,7 @@ init_gccjit_functions (void)
305 LOAD_DLL_FN (library, gcc_jit_struct_as_type); 304 LOAD_DLL_FN (library, gcc_jit_struct_as_type);
306 LOAD_DLL_FN (library, gcc_jit_struct_set_fields); 305 LOAD_DLL_FN (library, gcc_jit_struct_set_fields);
307 LOAD_DLL_FN (library, gcc_jit_type_get_pointer); 306 LOAD_DLL_FN (library, gcc_jit_type_get_pointer);
307 LOAD_DLL_FN_OPT (library, gcc_jit_context_add_driver_option);
308 LOAD_DLL_FN_OPT (library, gcc_jit_version_major); 308 LOAD_DLL_FN_OPT (library, gcc_jit_version_major);
309 LOAD_DLL_FN_OPT (library, gcc_jit_version_minor); 309 LOAD_DLL_FN_OPT (library, gcc_jit_version_minor);
310 LOAD_DLL_FN_OPT (library, gcc_jit_version_patchlevel); 310 LOAD_DLL_FN_OPT (library, gcc_jit_version_patchlevel);