Skip to content

Commit 51bebc9

Browse files
author
Filipe Campos
committed
BUG#25163241 - MYSQL SERVER: VARIABLE LENGTH ARRAY IN XCOM CAUSING BUILD ERROR
Post push fix: Reverted commit fad0549, since the temporary fix in it becomes obsolete.
1 parent 5d39554 commit 51bebc9

File tree

1 file changed

+1
-1
lines changed
  • rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom

1 file changed

+1
-1
lines changed

rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_os_layer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extern "C" {
2222

2323
/* Required for FreeBSD, NetBSD and MacOS */
2424
#ifndef MAXHOSTNAMELEN
25-
#ifdef _SC_HOST_NAME_MAx
25+
#ifdef _SC_HOST_NAME_MAX
2626
#define MAXHOSTNAMELEN sysconf(_SC_HOST_NAME_MAX)
2727
#else
2828
#define MAXHOSTNAMELEN 1024

0 commit comments

Comments
 (0)