Skip to content

Commit dae55b4

Browse files
committed
Define HOST_NAME_MAX if it is undefined.
1 parent 53e000c commit dae55b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/raftable/worker.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
#define RAFTABLE_PEERS_MAX (64)
99

10+
#ifndef HOST_NAME_MAX
11+
#define HOST_NAME_MAX 64
12+
#endif
13+
1014
typedef struct HostPort {
1115
bool up;
1216
char host[HOST_NAME_MAX + 1];

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy