diff options
Diffstat (limited to 'intern/smoke')
-rw-r--r-- | intern/smoke/intern/IMAGE.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/intern/smoke/intern/IMAGE.h b/intern/smoke/intern/IMAGE.h index ba9b469727b..1f4fe51a4e7 100644 --- a/intern/smoke/intern/IMAGE.h +++ b/intern/smoke/intern/IMAGE.h @@ -74,12 +74,17 @@ template < class T > inline float MIN3V( T vec) { ////////////////////////////////////////////////////////////////////// // PNG, POV-Ray, and PBRT output functions ////////////////////////////////////////////////////////////////////// +#ifndef NOPNG #ifdef WIN32 #include "png.h" #else #include <png.h> #endif +#endif // NOPNG +/* + NOTE when someone decided to uncomment the following code, please remember to put it between #ifndef NOPNG #endif +*/ namespace IMAGE { /* static int writePng(const char *fileName, unsigned char **rowsp, int w, int h) |