This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SUN folks....
- To: bkorb at sco dot COM
- Subject: Re: SUN folks....
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Tue, 9 May 2000 22:33:35 +0200
- CC: gcc at gcc dot gnu dot org
- References: <391835CA.DACF232D@sco.com>
> Could one of you please look into your win_lock.h and/or
> win_cursor.h files in /usr/include/sunwindow and tell me
> what the egrep pattern 'ecd.cursor' will match?
On one of our remaining SunOS 4.1.4 boxes, win_lock.h has
/*
* In practice, for now, the kernel only supports a limited size
* cur_shape.pr_data->md_image. The following constants are the maximun number
* of bytes and words that cur_shape.pr_data->md_image can have.
*/
#ifdef ecd.cursor
#define CURSOR_MAX_SIZE 32 /* pixels (length, width) */
#define CURSOR_MIN_SIZE 16 /* pixels (length, width) */
/* max. # of image bytes */
#define CURSOR_MAX_IMAGE_BYTES (CURSOR_MAX_SIZE*CURSOR_MAX_SIZE/8)
/* max. # of image words */
#define CURSOR_MAX_IMAGE_WORDS (CURSOR_MAX_IMAGE_BYTES/2)
#else
#define CURSOR_MAX_IMAGE_BYTES 32 /* max. # of image bytes */
#define CURSOR_MAX_IMAGE_WORDS 16
#endif ecd.cursor
win_lock.h has a similar ifdef; it appears that ecd.cursor was
introduced as some kind of improvement over SunOS 4.0. It is not
present in SunOS 5 (aka Solaris).
Regards,
Martin