… | |
… | |
16 | |
16 | |
17 | #if ENABLE_FRILLS |
17 | #if ENABLE_FRILLS |
18 | # define ENABLE_XEMBED 1 |
18 | # define ENABLE_XEMBED 1 |
19 | # define ENABLE_EWMH 1 |
19 | # define ENABLE_EWMH 1 |
20 | # define CURSOR_BLINK 1 |
20 | # define CURSOR_BLINK 1 |
|
|
21 | #else |
|
|
22 | # define ENABLE_MINIMAL 1 |
21 | #endif |
23 | #endif |
22 | |
24 | |
23 | #include <limits.h> |
25 | #include <limits.h> |
24 | |
26 | |
25 | #include <X11/cursorfont.h> |
27 | #include <X11/cursorfont.h> |
… | |
… | |
35 | #include "rxvttoolkit.h" |
37 | #include "rxvttoolkit.h" |
36 | #include "iom.h" |
38 | #include "iom.h" |
37 | #include "salloc.h" |
39 | #include "salloc.h" |
38 | |
40 | |
39 | #include "rxvtperl.h" |
41 | #include "rxvtperl.h" |
|
|
42 | |
|
|
43 | // try to avoid some macros to decrease code size, on some systems |
|
|
44 | #if ENABLE_MINIMAL |
|
|
45 | # define strcmp(a,b) (strcmp)(a,b) |
|
|
46 | # define strlen(a) (strlen)(a) |
|
|
47 | # define strcpy(a,b) (strcpy)(a,b) |
|
|
48 | # define memset(a,c,l) (memset)(a,c,l) |
|
|
49 | # define memcpy(a,b,l) (memcpy)(a,b,l) |
|
|
50 | #endif |
40 | |
51 | |
41 | /* |
52 | /* |
42 | ***************************************************************************** |
53 | ***************************************************************************** |
43 | * SYSTEM HACKS |
54 | * SYSTEM HACKS |
44 | ***************************************************************************** |
55 | ***************************************************************************** |