[cairo-commit] rcairo/src rb_cairo_surface.c,1.36,1.37
Kouhei Sutou
commit at pdx.freedesktop.org
Fri Aug 1 18:29:10 PDT 2008
Committed by: kou
Update of /cvs/cairo/rcairo/src
In directory kemper:/tmp/cvs-serv17426/src
Modified Files:
rb_cairo_surface.c
Log Message:
* README: update Paul van Tilburg's entry.
* extconf.rb: check ruby/st.h availability.
Suggested by Paul van Tilburg.
* src/rb_cairo_surface.c: use HAVE_RUBY_ST_H.
Index: rb_cairo_surface.c
===================================================================
RCS file: /cvs/cairo/rcairo/src/rb_cairo_surface.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- rb_cairo_surface.c 20 Jun 2008 02:01:53 -0000 1.36
+++ rb_cairo_surface.c 2 Aug 2008 01:29:08 -0000 1.37
@@ -15,7 +15,11 @@
#include "rb_cairo.h"
#include "rb_cairo_private.h"
-#include <st.h>
+#ifdef HAVE_RUBY_ST_H
+# include <ruby/st.h>
+#else
+# include <st.h>
+#endif
#ifdef CAIRO_HAS_WIN32_SURFACE
# define OpenFile OpenFile_win32
More information about the cairo-commit
mailing list