]> git.eshelyaron.com Git - emacs.git/commitdiff
fix wrong enum usage into declare_function
authorAndrea Corallo <akrl@sdf.org>
Sun, 24 Nov 2019 22:22:49 +0000 (23:22 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:38:10 +0000 (11:38 +0100)
src/comp.c

index fd7707a2630d87a97f8ad9aad6c40ccc18d633d3..be92893d6596983c1dad89629a77ae4d3d93e84c 100644 (file)
@@ -2757,7 +2757,7 @@ declare_function (Lisp_Object func)
                                              type[i],
                                              format_string ("par_%d", i));
       gcc_func = gcc_jit_context_new_function (comp.ctxt, NULL,
-                                              GCC_JIT_GLOBAL_EXPORTED,
+                                              GCC_JIT_FUNCTION_EXPORTED,
                                               comp.lisp_obj_type,
                                               c_name,
                                               max_args,