Browse Source

Merge pull request #370 from koordinates/master

Add CAIRO_FORMAT_INVALID
v1.x
Juriy Zaytsev 11 years ago
parent
commit
625306d005
  1. 4
      src/PNG.h

4
src/PNG.h

@ -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 */

Loading…
Cancel
Save