From 232a36f17e2796c52cb0b1afd5872c454b92ce62 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Mon, 23 Dec 2019 21:58:26 +0100 Subject: [PATCH] * src/emacs-module.h.in: Use @emacs_major_version@ for current env. --- src/emacs-module.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emacs-module.h.in b/src/emacs-module.h.in index 4175240cd09..f12eedbfbea 100644 --- a/src/emacs-module.h.in +++ b/src/emacs-module.h.in @@ -50,7 +50,7 @@ extern "C" { #endif /* Current environment. */ -typedef struct emacs_env_27 emacs_env; +typedef struct emacs_env_@emacs_major_version@ emacs_env; /* Opaque pointer representing an Emacs Lisp value. BEWARE: Do not assume NULL is a valid value! */ -- 2.39.2