rpy/rpy-1.0.3-R-2.8.0.patch
Tom Callaway bf50a8ae3f R 2.8.0
2008-10-26 19:57:48 +00:00

15 lines
406 B
Diff

diff -up rpy-1.0.3/src/RPy.h.BAD rpy-1.0.3/src/RPy.h
--- rpy-1.0.3/src/RPy.h.BAD 2008-10-26 15:37:50.000000000 -0400
+++ rpy-1.0.3/src/RPy.h 2008-10-26 15:39:25.000000000 -0400
@@ -74,8 +74,9 @@
# endif
#endif /* _WIN32 */
+#if R_VERSION < 133120
#include <Rdevices.h> /* must follow Graphics.h */
-
+#endif
/* Missing definitions from Rinterface.h or RStartup.h */
# define CleanEd Rf_CleanEd