Make buffer size 1024 for now; will change to dynamic memory soon for more flexibility

This commit is contained in:
geommer 2016-03-27 09:39:10 +02:00
parent 1c76e8347b
commit 55ec2668c7
3 changed files with 3 additions and 3 deletions

View file

@ -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`

View file

@ -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

View file

@ -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"