mirror of
https://github.com/vale981/yabar
synced 2025-03-05 09:31:39 -05:00
Make buffer size 1024 for now; will change to dynamic memory soon for more flexibility
This commit is contained in:
parent
1c76e8347b
commit
55ec2668c7
3 changed files with 3 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
|||
VERSION = $(shell git describe)
|
||||
CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_POSIX_C_SOURCE=199309L
|
||||
CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL
|
||||
CFLAGS += -std=c99 -pedantic -Wall -O2 `pkg-config --cflags pango pangocairo libconfig`
|
||||
INCLDS := -I.
|
||||
LDLIBS := -lxcb -lpthread -lxcb-randr `pkg-config --libs pango pangocairo libconfig`
|
||||
|
|
|
@ -22,7 +22,7 @@ struct reserved_blk ya_reserved_blks[YA_INTERNAL_LEN] = {
|
|||
//{"YA_INT_MEMORY", ya_int_memory}
|
||||
};
|
||||
|
||||
#define YA_INTERNAL
|
||||
//#define YA_INTERNAL
|
||||
|
||||
#ifdef YA_INTERNAL
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
extern char *strdup(const char *s); //to suppress implicit decleration warning for strdup
|
||||
|
||||
#define BUFSIZE 4096
|
||||
#define BUFSIZE 1024
|
||||
#define CFILELEN 256
|
||||
#define YA_DEF_FONT "sans bold 9"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue