On Sun, Jun 17, 2012 at 11:12 PM, Vinson Lee <[email protected]> wrote:
> Fixes build error on Cygwin and Solaris. _R, _G, and _B are used in
> ctype.h on those platforms.
>
> Signed-off-by: Vinson Lee <[email protected]>
> ---
>  src/gallium/state_trackers/glx/xlib/glx_usefont.c |    3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/src/gallium/state_trackers/glx/xlib/glx_usefont.c 
> b/src/gallium/state_trackers/glx/xlib/glx_usefont.c
> index 0aa37e1..fa5c93a 100644
> --- a/src/gallium/state_trackers/glx/xlib/glx_usefont.c
> +++ b/src/gallium/state_trackers/glx/xlib/glx_usefont.c
> @@ -37,9 +37,6 @@
>  /* Some debugging info.  */
>
>  #ifdef DEBUG
> -#undef _R
> -#undef _G
> -#undef _B
>  #include <ctype.h>
>
>  int debug_xfonts = 0;

Reviewed-by: Brian Paul <[email protected]>
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to