summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorAlexander Taylor <alex@vector35.com>2024-09-03 17:19:13 -0400
committerAlexander Taylor <alex@vector35.com>2024-09-13 10:52:48 -0400
commit590b594850ccd15b9e2cb2b0e8f3050d782647b3 (patch)
tree7d204faf40705c4f99918ecb7fca901dae0282c1 /ui
parente610029c1425fdb791b3570a4397dffcad420111 (diff)
Ultimate.
Diffstat (limited to 'ui')
-rw-r--r--ui/scriptingconsole.h2
-rw-r--r--ui/uitypes.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/scriptingconsole.h b/ui/scriptingconsole.h
index 046601b7..23849e8f 100644
--- a/ui/scriptingconsole.h
+++ b/ui/scriptingconsole.h
@@ -237,7 +237,7 @@ public:
SidebarWidgetLocation defaultLocation() const override { return SidebarWidgetLocation::LeftBottom; }
SidebarContextSensitivity contextSensitivity() const override { return GlobalSidebarContext; }
bool alwaysShowTabs() const override { return true; }
-#ifdef DEMO_VERSION
+#ifdef DEMO_EDITION
virtual QString noWidgetMessage() const override;
#endif
};
diff --git a/ui/uitypes.h b/ui/uitypes.h
index 511e5aa9..3c8c2ed3 100644
--- a/ui/uitypes.h
+++ b/ui/uitypes.h
@@ -23,7 +23,7 @@
#endif
#else
#ifdef _MSC_VER
- #ifndef DEMO_VERSION
+ #ifndef DEMO_EDITION
#ifdef BINARYNINJAUI_LIBRARY
#define BINARYNINJAUIAPI __declspec(dllexport)
#else
@@ -43,7 +43,7 @@
// The BN_DECLARE_UI_ABI_VERSION must be included in native UI plugin modules. If
// the ABI version is not declared, the UI will not load the plugin.
-#ifdef DEMO_VERSION
+#ifdef DEMO_EDITION
#define BN_DECLARE_UI_ABI_VERSION
#else
#define BN_DECLARE_UI_ABI_VERSION \