This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SUN folks....


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]