link libmariadb instead of libmysql if headers indicate MariaDB

This commit is contained in:
Günter Obiltschnig
2021-06-23 13:01:11 +02:00
parent 9017c36884
commit 4508514666
2 changed files with 11 additions and 1 deletions

View File

@@ -12,6 +12,11 @@
//
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
#define _CRT_SECURE_NO_WARNINGS
#endif
#include "Poco/Data/MySQL/MySQLException.h"
#include <mysql/mysql.h>
#include <stdio.h>