Browse Source

Update Image.h

v1.x
svandecappelle 11 years ago
parent
commit
86e77b5bcc
  1. 6
      src/Image.h

6
src/Image.h

@ -19,6 +19,12 @@
#include <gif_lib.h>
#endif
#if GIFLIB_MAJOR > 5 || GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1
#define GIF_CLOSE_FILE(gif) DGifCloseFile(gif, NULL)
#else
#define GIF_CLOSE_FILE(gif) DGifCloseFile(gif)
#endif
class Image: public node::ObjectWrap {
public:
char *filename;

Loading…
Cancel
Save