Mercurial > audlegacy-plugins
diff src/aosd/ghosd.h @ 734:ff62f5530a36 trunk
[svn] - freebsd portability fixes from "The_Paya". Closes #814.
author | nenolod |
---|---|
date | Tue, 27 Feb 2007 01:27:06 -0800 |
parents | 6584e697e6da |
children | 16e51fb5908e |
line wrap: on
line diff
--- a/src/aosd/ghosd.h Mon Feb 26 05:14:22 2007 -0800 +++ b/src/aosd/ghosd.h Tue Feb 27 01:27:06 2007 -0800 @@ -10,7 +10,7 @@ #include <cairo/cairo.h> -#include <values.h> /* MAXINT */ +#include <limits.h> /* INT_MAX */ #include <sys/time.h> /* timeval */ typedef struct _Ghosd Ghosd; @@ -32,7 +32,7 @@ Ghosd *ghosd_new(void); void ghosd_destroy(Ghosd* ghosd); -#define GHOSD_COORD_CENTER MAXINT +#define GHOSD_COORD_CENTER INT_MAX void ghosd_set_transparent(Ghosd *ghosd, int transparent); void ghosd_set_position(Ghosd *ghosd, int x, int y, int width, int height); void ghosd_set_render(Ghosd *ghosd, GhosdRenderFunc render_func,