]> git.eshelyaron.com Git - emacs.git/commitdiff
fix compilation when native compiler is not enabled
authorAndrea Corallo <akrl@sdf.org>
Tue, 12 Nov 2019 22:00:02 +0000 (23:00 +0100)
committerAndrea Corallo <akrl@sdf.org>
Wed, 1 Jan 2020 10:38:04 +0000 (11:38 +0100)
src/pdumper.c

index 7b3109607b4ab6a2e6c9992d2c8eacfab8d754a2..38b70146b4fac4d289763b1162e4076a0c08503a 100644 (file)
@@ -2937,7 +2937,9 @@ dump_subr (struct dump_context *ctx, const struct Lisp_Subr *subr)
   dump_field_emacs_ptr (ctx, &out, subr, &subr->symbol_name);
   dump_field_emacs_ptr (ctx, &out, subr, &subr->intspec);
   DUMP_FIELD_COPY (&out, subr, doc);
+#ifdef HAVE_NATIVE_COMP
   DUMP_FIELD_COPY (&out, subr, native_elisp);
+#endif
   return dump_object_finish (ctx, &out, sizeof (out));
 }