diff options
author | horchi <vdr@jwendel.de> | 2022-01-03 19:33:57 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2022-01-03 19:33:57 +0100 |
commit | a7b3392b09a18a4f8c40b732b50db12ce70a28cd (patch) | |
tree | cbe10e315e2fdeb6e5c9385fc3bd98f2d75d7f0f /lib | |
parent | 238ba34e22de51720802c38739e9b688e98ceb57 (diff) | |
download | vdr-plugin-epg2vdr-a7b3392b09a18a4f8c40b732b50db12ce70a28cd.tar.gz vdr-plugin-epg2vdr-a7b3392b09a18a4f8c40b732b50db12ce70a28cd.tar.bz2 |
2022-01-03: version 1.2.4 (horchi)\n - change: Removed dependency to mysql-compat package\n\n1.2.4
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 4 | ||||
-rw-r--r-- | lib/db.h | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/lib/Makefile b/lib/Makefile index 6c00449..f3ab6dd 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -26,7 +26,7 @@ CFLAGS += $(shell pkg-config --cflags uuid) CFLAGS += $(shell pkg-config --cflags zlib) BASELIBS += -lrt -BASELIBS += $(shell mysql_config --libs_r) +BASELIBS += $(shell $(SQLCFG) --libs_r) BASELIBS += $(shell pkg-config --libs uuid) BASELIBS += $(shell pkg-config --libs zlib) BASELIBS += $(PYTHON_LIBS) @@ -53,7 +53,7 @@ ifdef SYSD_NOTIFY CFLAGS += $(shell pkg-config --cflags libsystemd-daemon) endif -CFLAGS += $(shell mysql_config --include) +CFLAGS += $(shell $(SQLCFG) --include) DEFINES += $(USES) all: lib $(TEST) $(DEMO) @@ -5,8 +5,7 @@ * */ -#ifndef __DB_H -#define __DB_H +#pragma once #include <linux/unistd.h> @@ -16,7 +15,7 @@ #include <stdarg.h> #include <errno.h> -#include <mysql/mysql.h> +#include <mysql.h> #include <list> @@ -1368,6 +1367,3 @@ class cDbProcedure : public cDbService char* name; }; - -//*************************************************************************** -#endif //__DB_H |