becker@TRANTOR.HARRIS-ATD.COM (Don Becker) (12/21/88)
(This should either be put in a 'README.sun' file, or done automatically in fixincludes.) Under SunOS 3.5 the files <sunwindow/win_cursor.h> <suntool/icon.h> and <pixrect/memvar.h> reference the macro 'CAT' which is defined in <pixrect/memvar.h>. To work correctly under ANSI C, memvar.h should be changed as follows: cd /usr/include/pixrect/ diff -c memvar.h /usr/local/lib/gcc-include/pixrect/memvar.h *** memvar.h Mon Sep 15 16:55:23 1986 --- /usr/local/lib/gcc-include/pixrect/memvar.h Tue Dec 13 14:51:50 1988 *************** *** 92,103 **** */ /* First a pair of utility macros that allow concatenation in a fashion that ! * won't annoy lint (These belong in a standard header file!): */ #ifndef CAT ! #undef IDENT ! #define IDENT(x) x ! #define CAT(a,b) IDENT(a)b #endif #define mpr_static(name, w, h, d, image) \ --- 92,101 ---- */ /* First a pair of utility macros that allow concatenation in a fashion that ! * won't' annoy lint (These belong in a standard header file!): */ #ifndef CAT ! #define CAT(a,b) a##b #endif #define mpr_static(name, w, h, d, image) \