summaryrefslogtreecommitdiffstats
path: root/src/kernel/qwmatrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qwmatrix.cpp')
-rw-r--r--src/kernel/qwmatrix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qwmatrix.cpp b/src/kernel/qwmatrix.cpp
index eb8324f3..dae4bc74 100644
--- a/src/kernel/qwmatrix.cpp
+++ b/src/kernel/qwmatrix.cpp
@@ -41,7 +41,7 @@
#include "ntqwmatrix.h"
#include "ntqdatastream.h"
#include "ntqregion.h"
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
double qsincos( double, bool calcCos ); // defined in qpainter_x11.cpp
#else
#include <math.h>
@@ -851,7 +851,7 @@ const double deg2rad = 0.017453292519943295769; // pi/180
TQWMatrix &TQWMatrix::rotate( double a )
{
double b = deg2rad*a; // convert to radians
-#if defined(Q_WS_X11)
+#if defined(TQ_WS_X11)
double sina = qsincos(b,FALSE); // fast and convenient
double cosa = qsincos(b,TRUE);
#else