diff --git a/Makefile b/Makefile index c139cac..3892367 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ endif ifeq ($(shell uname -s),SunOS) PG_CPPFLAGS += -Wno-sign-compare -D__EXTENSIONS__ endif +PG_CPPFLAGS += -DPG_CRON_VERSION=$(shell sed -r -n -e '1s/.* v([^ ]*) .*/\1/p'