#--------------------------------------------------------------------
CC = gcc
LD = gcc
-CFLAGS = -Wall -D_GNU_SOURCE $(OPTIME) -DDATABASE=$(DB)
+CFLAGS = -Wall -D_GNU_SOURCE \
+ -DDATABASE=$(DB) \
+ -Dwith_postgres \
+ -Dwith_mysql \
+ $(OPTIME)
LIBMAIL = libmail.a
PAR = -j`/usr/bin/getconf _NPROCESSORS_ONLN`
#--------------------------------------------------------------------
#define OPEP "sqlmar.c:mar_closesql,"
#ifdef DB_MYSQL
- (void) mysql_close(MYSQL *marptr);
+ (void) mysql_close((MYSQL *)marptr);
#else
(void) fprintf(stderr,"%s not compiled to be used with mysql\n",OPEP);
#endif