diff --git a/meson.build b/meson.build index ca1a2f3..59282fd 100644 --- a/meson.build +++ b/meson.build @@ -39,6 +39,7 @@ endif conf.set('POINTER_SIZE', ptr_size) conf.set('FUNC_POINTER_SIZE', func_ptr_size) +conf.set('WRENPP_NAME', meson.project_name()) project_config_file = configure_file( input: 'src/config.h.in', diff --git a/src/config.h.in b/src/config.h.in index 8226900..7cbca2e 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -20,6 +20,8 @@ #define ASM_PTR_SIZE @POINTER_SIZE@ #define ASM_FUNC_PTR_SIZE @FUNC_POINTER_SIZE@ +#define WRENPP_NAME "@WRENPP_NAME@" + #if defined(__cplusplus) static_assert(sizeof(void*) == ASM_PTR_SIZE, "Build system reports an unexpected pointer size, please ensure assembly code is correct");