From: root Date: Mon, 16 Jan 2006 09:51:57 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=d39c0dfc46ac0820b9ab4a46251426c873b3171e;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/src/Makefile.in b/src/Makefile.in index 666c5ea4..d26f13f3 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -24,7 +24,7 @@ COMMON = \ command.o rxvtfont.o init.o logging.o @PERL_O@ \ main.o menubar.o misc.o netdisp.o ptytty.o screen.o \ scrollbar.o scrollbar-next.o scrollbar-rxvt.o scrollbar-xterm.o scrollbar-plain.o \ - strings.o xdefaults.o xpm.o encoding.o rxvttoolkit.o rxvtutil.o iom.o keyboard.o + xdefaults.o xpm.o encoding.o rxvttoolkit.o rxvtutil.o iom.o keyboard.o COMMON_DAEMON = rxvtdaemon.o fdpass.o @@ -220,9 +220,6 @@ scrollbar-xterm.o: rsinc.h menubar.h scrollbar.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h optinc.h scrollbar.o: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h scrollbar.o: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h menubar.h -strings.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h optinc.h -strings.o: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h -strings.o: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h menubar.h xdefaults.o: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h optinc.h xdefaults.o: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h xdefaults.o: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h menubar.h @@ -331,9 +328,6 @@ scrollbar-xterm.lo: rsinc.h menubar.h scrollbar.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h optinc.h scrollbar.lo: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h scrollbar.lo: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h menubar.h -strings.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h optinc.h -strings.lo: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h -strings.lo: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h menubar.h xdefaults.lo: ../config.h rxvt.h rxvtlib.h ptytty.h feature.h optinc.h xdefaults.lo: encoding.h rxvtfont.h rxvtutil.h rxvttoolkit.h iom.h iom_conf.h xdefaults.lo: callback.h salloc.h rxvtperl.h hookinc.h rsinc.h menubar.h diff --git a/src/rxvt.h b/src/rxvt.h index 5bd6073d..3689b0d6 100644 --- a/src/rxvt.h +++ b/src/rxvt.h @@ -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