summaryrefslogtreecommitdiff
path: root/community/gnofract4d/imageIO.cpp.patch
blob: 62c7e1c693a669bd5844795cb1802a6030f5a9c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- fract4d/c/imageIO.cpp.orig	2010-03-28 04:47:10.000000000 +0200
+++ fract4d/c/imageIO.cpp	2010-08-18 23:29:06.000000000 +0200
@@ -3,6 +3,10 @@
 
 #include "image_public.h"
 
+#define png_infopp_NULL (png_infopp)NULL
+#define int_p_NULL (int*)NULL
+#define png_bytepp_NULL (png_bytepp)NULL
+
 class image_writer : public ImageWriter
 {
 public: