aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/rect.h2
-rw-r--r--engines/sci/graphics/helpers.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/common/rect.h b/common/rect.h
index e6534e55d3..6c4292c7af 100644
--- a/common/rect.h
+++ b/common/rect.h
@@ -27,6 +27,8 @@
#include "common/util.h"
#include "common/debug.h"
+#define PRINT_RECT(x) (x).left,(x).top,(x).right,(x).bottom
+
namespace Common {
/**
diff --git a/engines/sci/graphics/helpers.h b/engines/sci/graphics/helpers.h
index 52699c6242..38da280701 100644
--- a/engines/sci/graphics/helpers.h
+++ b/engines/sci/graphics/helpers.h
@@ -52,10 +52,6 @@ typedef int16 TextAlignment;
#define PORTS_FIRSTWINDOWID 2
#define PORTS_FIRSTSCRIPTWINDOWID 3
-#ifdef ENABLE_SCI32
-#define PRINT_RECT(x) (x).left,(x).top,(x).right,(x).bottom
-#endif
-
struct Port {
uint16 id;
int16 top, left;