]> git.eshelyaron.com Git - emacs.git/commit
Fix DLL imports of gccjit version functions.
authorNicolás Bértolo <nicolasbertolo@gmail.com>
Mon, 1 Jun 2020 22:53:00 +0000 (19:53 -0300)
committerAndrea Corallo <akrl@sdf.org>
Tue, 2 Jun 2020 22:25:24 +0000 (23:25 +0100)
commitb619339b7a6c7952508bff72f07fc98c04e85f2c
treefc2a87a80720a9970b4e3c45b14a7fe4de908ab6
parent9f6c12be5574060014f91ad6190d79124ea19802
Fix DLL imports of gccjit version functions.

* src/comp.c (init_gccjit_functions): Use LOAD_DLL_FN_OPT macro to
load gcc_jit_version_major, gcc_jit_version_major and
gcc_jit_version_patchlevel.
* src/w32common.h (LOAD_DLL_FN_OPT): Add macro optionally load a
function from a DLL.
src/comp.c
src/w32common.h