]> granicus.if.org Git - graphviz/commitdiff
add INT32_MAX define for poor Windows....
authorellson <devnull@localhost>
Mon, 7 Dec 2009 16:40:59 +0000 (16:40 +0000)
committerellson <devnull@localhost>
Mon, 7 Dec 2009 16:40:59 +0000 (16:40 +0000)
plugin/gd/gvrender_gd.c

index 55b729ea6ff9ff1f2e97c3198b0ec4678d17c28f..05f3c6e4296e7ea61d78926495c400cb13c1a6ba 100644 (file)
 #ifdef HAVE_LIBGD
 #include "gd.h"
 
+#ifndef INT32_MAX
+#define INT32_MAX              (2147483647)
+#endif
+#ifndef UINT32_MAX
+#define UINT32_MAX             (4294967295U)
+#endif
+
+
 typedef enum {
        FORMAT_GIF,
        FORMAT_JPEG,