[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] nick.lloyd-bytecode-jit 3ccffad: ; s/#if/#ifdef/ HAVE_LIBJ
From: |
Nickolas Lloyd |
Subject: |
[Emacs-diffs] nick.lloyd-bytecode-jit 3ccffad: ; s/#if/#ifdef/ HAVE_LIBJIT |
Date: |
Mon, 30 Jan 2017 02:33:10 +0000 (UTC) |
branch: nick.lloyd-bytecode-jit
commit 3ccffad606386a9344b592cb35bda9c5a1714242
Author: Nickolas Lloyd <address@hidden>
Commit: Nickolas Lloyd <address@hidden>
; s/#if/#ifdef/ HAVE_LIBJIT
; * src/alloc.c (cleanup_vector): Test for macro definition instead of
value.
---
src/alloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/alloc.c b/src/alloc.c
index 4c62f81..0c6c1e0 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -3221,7 +3221,7 @@ cleanup_vector (struct Lisp_Vector *vector)
else if (PSEUDOVECTOR_TYPEP (&vector->header, PVEC_COMPILED)
&& vector->contents[COMPILED_JIT_CTXT] != (Lisp_Object )NULL)
{
-#if HAVE_LIBJIT
+#ifdef HAVE_LIBJIT
jit_context_t ctxt = (jit_context_t )vector->contents[COMPILED_JIT_CTXT];
jit_context_destroy (ctxt);
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] nick.lloyd-bytecode-jit 3ccffad: ; s/#if/#ifdef/ HAVE_LIBJIT,
Nickolas Lloyd <=