summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mysql_version.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mysql_version.h.in b/include/mysql_version.h.in
index f22e00dabb9..e4db942142e 100644
--- a/include/mysql_version.h.in
+++ b/include/mysql_version.h.in
@@ -17,9 +17,13 @@
#define MYSQL_SERVER_SUFFIX_DEF "@MYSQL_SERVER_SUFFIX@"
#define FRM_VER @DOT_FRM_VERSION@
#define MYSQL_VERSION_ID @MYSQL_VERSION_ID@
+#ifndef MYSQL_PORT
#define MYSQL_PORT @MYSQL_TCP_PORT@
+#endif
#define MYSQL_PORT_DEFAULT @MYSQL_TCP_PORT_DEFAULT@
+#ifndef MYSQL_UNIX_ADDR
#define MYSQL_UNIX_ADDR "@MYSQL_UNIX_ADDR@"
+#endif
#define MYSQL_CONFIG_NAME "my"
#define MYSQL_COMPILATION_COMMENT "@COMPILATION_COMMENT@"