Permalink
Browse files

Merge pull request #370 from koordinates/master

Add CAIRO_FORMAT_INVALID
  • Loading branch information...
2 parents c864c22 + c1180d1 commit 625306d005e4a3231980ab9dae6c5e9577ec81ec @kangax kangax committed Dec 24, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/PNG.h
View
@@ -15,6 +15,10 @@
#define unlikely(expr) (expr)
#endif
+#ifndef CAIRO_FORMAT_INVALID
+#define CAIRO_FORMAT_INVALID -1
+#endif
+
static void canvas_png_flush(png_structp png_ptr) {
/* Do nothing; fflush() is said to be just a waste of energy. */
(void) png_ptr; /* Stifle compiler warning */

0 comments on commit 625306d

Please sign in to comment.