From 271e5a288c79f3c03c82d694979724ad29555eeb Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Tue, 17 Jun 2025 19:58:57 -0400 Subject: [PATCH] Adjusting BDNAME definition (#define) --- lib/subrou.h | 4 ++-- lib/unimar.c | 2 +- lib/unipos.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/subrou.h b/lib/subrou.h index f4cf8fb..22dea03 100644 --- a/lib/subrou.h +++ b/lib/subrou.h @@ -20,8 +20,8 @@ #define ITSOK 0 //to check errno against no error //defining database #define -//#define USE_POSTGRESQL 1 -//#define USE_MYSQL 2 +#define USE_POSTGRESQL 1 +#define USE_MYSQL 2 typedef void (*genfree_t)(void *); diff --git a/lib/unimar.c b/lib/unimar.c index 0db31c0..897a213 100644 --- a/lib/unimar.c +++ b/lib/unimar.c @@ -16,7 +16,7 @@ #include "unimar.h" //checking if MYSQL database need to compiled -#if DATABASE==MYSQL +#if DATABASE==USE_MYSQL #define DB_MYSQL #endif diff --git a/lib/unipos.c b/lib/unipos.c index 89fb4cc..df2c23a 100644 --- a/lib/unipos.c +++ b/lib/unipos.c @@ -12,7 +12,7 @@ #include "unipos.h" //checking if MYSQL database need to compiled -#if DATABASE==POSTGRESQL +#if DATABASE==USE_POSTGRESQL #define DB_POSTGRESQL #endif -- 2.47.3