Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MariaDB change for Alpine Linux builds #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions contrib/hbmysql/mysql.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,15 @@

#include "mysql.h"

/* NOTE: Patricio Díaz (padiazg) suggested this change for Alpine Linux builds
where MariaDB is only avaiable.
*/
#if !defined( MYSQL_PORT )
#if defined( MARIADB_PORT )
#define MYSQL_PORT MARIADB_PORT
#endif
#endif

/* NOTE: OS/2 EMX port of MySQL needs libmysqlclient.a from 3.21.33b build
which has ST and MT versions of client library. I'm using ST version
since Harbour is single threaded.
Expand Down