mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
fix System::VERSION returning macro name
Yes, I'm an idiot for not noticing, but it's fixed now.
This commit is contained in:
parent
8a9cdf9266
commit
c2ebb1d234
2 changed files with 3 additions and 5 deletions
|
@ -62,8 +62,6 @@ extern "C" {
|
|||
#include <SDL_loadso.h>
|
||||
#include <SDL_power.h>
|
||||
|
||||
#define MACRO_STRINGIFY(x) #x
|
||||
|
||||
extern const char module_rpg1[];
|
||||
extern const char module_rpg2[];
|
||||
extern const char module_rpg3[];
|
||||
|
@ -262,7 +260,7 @@ static void mriBindingInit() {
|
|||
|
||||
rb_gv_set("BTEST", rb_bool_new(shState->config().editor.battleTest));
|
||||
|
||||
VALUE vers = rb_utf8_str_new_cstr(MACRO_STRINGIFY(MKXPZ_VERSION));
|
||||
VALUE vers = rb_utf8_str_new_cstr(MKXPZ_VERSION);
|
||||
rb_str_freeze(vers);
|
||||
rb_define_const(mod, "VERSION", vers);
|
||||
|
||||
|
|
|
@ -3366,7 +3366,7 @@
|
|||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
MKXPZ_BUILD_XCODE,
|
||||
"MKXPZ_ALCDEVICE=ALCdevice",
|
||||
"MKXPZ_VERSION=\"$(MARKETING_VERSION)\"",
|
||||
"MKXPZ_VERSION=\"\\\"$(MARKETING_VERSION)\\\"\"",
|
||||
MKXPZ_MINIFFI,
|
||||
MKXPZ_DEBUG,
|
||||
MKXPZ_SSL,
|
||||
|
@ -3437,7 +3437,7 @@
|
|||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
MKXPZ_BUILD_XCODE,
|
||||
"MKXPZ_ALCDEVICE=ALCdevice",
|
||||
"MKXPZ_VERSION=\"$(MARKETING_VERSION)\"",
|
||||
"MKXPZ_VERSION=\"\\\"$(MARKETING_VERSION)\\\"\"",
|
||||
MKXPZ_MINIFFI,
|
||||
MKXPZ_SSL,
|
||||
AL_LIBTYPE_STATIC,
|
||||
|
|
Loading…
Add table
Reference in a new issue