From: Godmar Back (gback@cs.utah.edu)
Date: Wed Sep 09 1998 - 11:22:18 EDT
So, should that go in config-mem.h, which means clr.c must include
config-mem.h, or should it go in clr.c, as Alexandre suggests?
Any opinions?
- Godmar
> --
> Alexandre Oliva
> mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
> http://www.dcc.unicamp.br/~oliva
> Universidade Estadual de Campinas, SP, Brasil
>
> --Multipart_Tue_Sep__8_22:37:40_1998-1
> Content-Type: application/octet-stream; type=patch
> Content-Disposition: attachment; filename="memmove.diff"
> Content-Transfer-Encoding: 7bit
>
> Alexandre Oliva <oliva@dcc.unicamp.br>
>
> * libraries/clib/awt/X/clr.c (fillUpColorCube): use bcopy if
> memmove is not available
>
> Index: libraries/clib/awt/X/clr.c
> ===================================================================
> RCS file: /home/cvspublic/kaffe/libraries/clib/awt/X/clr.c,v
> retrieving revision 1.4
> diff -u -r1.4 clr.c
> --- libraries/clib/awt/X/clr.c 1998/09/08 22:27:13 1.4
> +++ libraries/clib/awt/X/clr.c 1998/09/09 01:29:16
> @@ -13,6 +13,11 @@
> #include <limits.h>
> #include <math.h>
>
> +#if !HAVE_MEMMOVE
> +/* use bcopy instead */
> +#define memmove(to,from,size) bcopy((from),(to),(size))
> +#endif
> +
>
> #define CLR_DIST 8.0
>
>
> --Multipart_Tue_Sep__8_22:37:40_1998-1--
>
>
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:56:55 EDT