--- cvsroot/rxvt-unicode/src/rxvt.h 2006/01/16 08:29:57 1.206 +++ cvsroot/rxvt-unicode/src/rxvt.h 2006/01/16 09:51:57 1.207 @@ -18,6 +18,8 @@ # define ENABLE_XEMBED 1 # define ENABLE_EWMH 1 # define CURSOR_BLINK 1 +#else +# define ENABLE_MINIMAL 1 #endif #include @@ -38,6 +40,15 @@ #include "rxvtperl.h" +// try to avoid some macros to decrease code size, on some systems +#if ENABLE_MINIMAL +# define strcmp(a,b) (strcmp)(a,b) +# define strlen(a) (strlen)(a) +# define strcpy(a,b) (strcpy)(a,b) +# define memset(a,c,l) (memset)(a,c,l) +# define memcpy(a,b,l) (memcpy)(a,b,l) +#endif + /* ***************************************************************************** * SYSTEM HACKS