[education/rkward] rkward/rbackend/rkwarddevice: Fix compilation for R < 4.1.0
Thomas Friedrichsmeier
null at kde.org
Mon Mar 21 17:28:33 GMT 2022
Git commit 643d21a0f488959a1212d560bba5773f0aa9328f by Thomas Friedrichsmeier.
Committed on 21/03/2022 at 17:28.
Pushed by tfry into branch 'master'.
Fix compilation for R < 4.1.0
M +1 -0 rkward/rbackend/rkwarddevice/rkgraphicsdevice_stubs.cpp
https://invent.kde.org/education/rkward/commit/643d21a0f488959a1212d560bba5773f0aa9328f
diff --git a/rkward/rbackend/rkwarddevice/rkgraphicsdevice_stubs.cpp b/rkward/rbackend/rkwarddevice/rkgraphicsdevice_stubs.cpp
index a537abaa..2f531ac6 100644
--- a/rkward/rbackend/rkwarddevice/rkgraphicsdevice_stubs.cpp
+++ b/rkward/rbackend/rkwarddevice/rkgraphicsdevice_stubs.cpp
@@ -187,6 +187,7 @@ public:
RKD_OUT_STREAM << (qint8) ColorFill; WRITE_COLOR_BYTES (gc->fill); \
}
#else
+# define WRITE_FILL() \
RKD_OUT_STREAM << (qint8) ColorFill; WRITE_COLOR_BYTES (gc->fill);
#endif
#define WRITE_FONT(dev) \
More information about the rkward-tracker
mailing list