Content-Length: 257698 | pFad | http://github.com/postgrespro/postgres_cluster/commit/dae55b4bf5a734451a7e79c8958c00054750fff8

94 Define HOST_NAME_MAX if it is undefined. · postgrespro/postgres_cluster@dae55b4 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/dae55b4bf5a734451a7e79c8958c00054750fff8

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy