Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-05-01 12:14:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-05-01 12:14:50 +0300
commit7ded7610ce53c9bc8b571332589105dfb86a89c1 (patch)
treeed569289596dc9293a6980680e22904bbf9705d9 /intern/ghost/intern/GHOST_ISystem.cpp
parent47fea20dc870d72d03f0e0babd7aec21b73315ff (diff)
Cleanup: rename WITH_X11 to WITH_GHOST_X11
Matches WITH_GHOST_{SDL|WAYLAND}
Diffstat (limited to 'intern/ghost/intern/GHOST_ISystem.cpp')
-rw-r--r--intern/ghost/intern/GHOST_ISystem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/ghost/intern/GHOST_ISystem.cpp b/intern/ghost/intern/GHOST_ISystem.cpp
index 8041f7758d8..11d1c501d04 100644
--- a/intern/ghost/intern/GHOST_ISystem.cpp
+++ b/intern/ghost/intern/GHOST_ISystem.cpp
@@ -27,8 +27,8 @@
#include "GHOST_ISystem.h"
-#if defined(WITH_X11) || defined(WITH_GHOST_WAYLAND)
-# ifdef WITH_X11
+#if defined(WITH_GHOST_X11) || defined(WITH_GHOST_WAYLAND)
+# ifdef WITH_GHOST_X11
# include "GHOST_SystemX11.h"
# endif
# ifdef WITH_GHOST_WAYLAND
@@ -54,7 +54,7 @@ GHOST_TSuccess GHOST_ISystem::createSystem()
{
GHOST_TSuccess success;
if (!m_system) {
-#if defined(WITH_X11) || defined(WITH_GHOST_WAYLAND)
+#if defined(WITH_GHOST_X11) || defined(WITH_GHOST_WAYLAND)
# ifdef WITH_GHOST_WAYLAND
try {
m_system = new GHOST_SystemWayland();
@@ -62,7 +62,7 @@ GHOST_TSuccess GHOST_ISystem::createSystem()
catch (const std::exception &) {
}
# endif
-# ifdef WITH_X11
+# ifdef WITH_GHOST_X11
if (!m_system) {
m_system = new GHOST_SystemX11();
}