aboutsummaryrefslogtreecommitdiff
path: root/backends/taskbar
diff options
context:
space:
mode:
authorLittleboy2011-04-01 01:30:12 -0400
committerJulien2011-06-16 10:38:34 -0400
commitc3d9c6afa57055705849359deaac7c5748d66fe1 (patch)
tree810a9b2ce820f0ae15186ebe3054f2f0a48e97c8 /backends/taskbar
parenta523ade3329a36a50c75161279ced7c0d754906f (diff)
downloadscummvm-rg350-c3d9c6afa57055705849359deaac7c5748d66fe1.tar.gz
scummvm-rg350-c3d9c6afa57055705849359deaac7c5748d66fe1.tar.bz2
scummvm-rg350-c3d9c6afa57055705849359deaac7c5748d66fe1.zip
BACKENDS: Add use flag for taskbar integration
Diffstat (limited to 'backends/taskbar')
-rw-r--r--backends/taskbar/unity/unity-taskbar.cpp2
-rw-r--r--backends/taskbar/unity/unity-taskbar.h2
-rw-r--r--backends/taskbar/win32/win32-taskbar.cpp2
-rw-r--r--backends/taskbar/win32/win32-taskbar.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/backends/taskbar/unity/unity-taskbar.cpp b/backends/taskbar/unity/unity-taskbar.cpp
index 98616a7587..4a074abca2 100644
--- a/backends/taskbar/unity/unity-taskbar.cpp
+++ b/backends/taskbar/unity/unity-taskbar.cpp
@@ -23,7 +23,7 @@
*
*/
-#if defined(UNIX)
+#if defined(UNIX) && defined(USE_TASKBAR)
#include "backends/taskbar/unity/unity-taskbar.h"
diff --git a/backends/taskbar/unity/unity-taskbar.h b/backends/taskbar/unity/unity-taskbar.h
index a49f369cac..cd8efdaf2a 100644
--- a/backends/taskbar/unity/unity-taskbar.h
+++ b/backends/taskbar/unity/unity-taskbar.h
@@ -26,7 +26,7 @@
#ifndef BACKEND_UNITY_TASKBAR_H
#define BACKEND_UNITY_TASKBAR_H
-#if defined(UNIX)
+#if defined(UNIX) && defined(USE_TASKBAR)
#include "common/str.h"
#include "common/taskbar.h"
diff --git a/backends/taskbar/win32/win32-taskbar.cpp b/backends/taskbar/win32/win32-taskbar.cpp
index 768bf5b64e..91c4e2399c 100644
--- a/backends/taskbar/win32/win32-taskbar.cpp
+++ b/backends/taskbar/win32/win32-taskbar.cpp
@@ -23,7 +23,7 @@
*
*/
-#if defined(WIN32)
+#if defined(WIN32) && defined(USE_TASKBAR)
// Needed for taskbar functions
#if defined(__GNUC__)
diff --git a/backends/taskbar/win32/win32-taskbar.h b/backends/taskbar/win32/win32-taskbar.h
index f9ce9c16fc..7d963c19ca 100644
--- a/backends/taskbar/win32/win32-taskbar.h
+++ b/backends/taskbar/win32/win32-taskbar.h
@@ -26,7 +26,7 @@
#ifndef BACKEND_WIN32_TASKBAR_H
#define BACKEND_WIN32_TASKBAR_H
-#if defined(WIN32)
+#if defined(WIN32) && defined(USE_TASKBAR)
#include "common/str.h"
#include "common/taskbar.h"