Skip to content

Commit

Permalink
rconn: Prevent redefinition of 'MAX_MONITORS' in Windows.
Browse files Browse the repository at this point in the history
Windows already has a MAX_MONITORS defined in ddeml.h.

Signed-off-by: Gurucharan Shetty <[email protected]>
  • Loading branch information
shettyg committed Sep 10, 2014
1 parent 7d031d7 commit 4f35691
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rconn.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ struct rconn {
uint8_t dscp;

/* Messages sent or received are copied to the monitor connections. */
#define MAX_MONITORS 8
struct vconn *monitors[8];
#define MAXIMUM_MONITORS 8
struct vconn *monitors[MAXIMUM_MONITORS];
size_t n_monitors;

uint32_t allowed_versions;
Expand Down

0 comments on commit 4f35691

Please sign in to comment.