| 1 |
From: Morten Kjeldgaard <[email protected]> |
| 2 |
Subject: modification to source code |
| 3 |
|
| 4 |
|
| 5 |
--- a/src/pngSave.cpp |
| 6 |
+++ b/src/pngSave.cpp |
| 7 |
@@ -15,7 +15,7 @@ |
| 8 |
#include <iostream> |
| 9 |
using namespace std; |
| 10 |
|
| 11 |
|
| 12 |
+#include <libpng/png.h> |
| 13 |
|
| 14 |
#include "progress.h" |
| 15 |
|
| 16 |
@@ -60,8 +60,8 @@ |
| 17 |
fflush(f); |
| 18 |
} |
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
+void donttrace(const char*x){}; |
| 23 |
+void donttrace(const char*x, const char*y){}; |
| 24 |
#define TRACE donttrace |
| 25 |
//#define TRACE trace |
| 26 |
void handle_error(struct png_struct_def *png,const char *error) { |