1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/x11-fonts/gfe/files/patch-src_glyph.h
Christian Weisgerber d0a57d830c Fix build on -CURRENT.
Notified by:	bento
2002-11-30 01:09:55 +00:00

24 lines
606 B
C

$FreeBSD$
--- src/glyph.h.orig Sat Nov 30 02:01:40 2002
+++ src/glyph.h Sat Nov 30 02:06:16 2002
@@ -20,7 +20,7 @@
#define __GFE_GLYPH_H__
#include <gtk/gtk.h>
-#include <values.h>
+#include <limits.h>
/* macro for type casting */
#define GFE_GLYPH(glyph) ((GfeGlyph*)(glyph))
@@ -29,7 +29,7 @@
#define GFE_GLYPH_NO_ENCODING (-1)
/* constant used to define undefined status of variables */
-#define GFE_UNDEFINED (MAXINT)
+#define GFE_UNDEFINED (INT_MAX)
/* macro(s) to access member(s) of GfeGlyph structure */
#define GFE_GLYPH_TYPE(glyph) (((glyph)->flags) & 0xFF)