mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-02 20:03:12 +00:00
repair BSD/Darwin build by moving HZ constant in tlist.h
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1381 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
2e4394413d
commit
b392956ef4
@ -45,6 +45,10 @@
|
||||
|
||||
#include "../include/list.h"
|
||||
|
||||
#if defined(OPENAIS_BSD) || defined(OPENAIS_DARWIN)
|
||||
#define HZ 100 /* 10ms */
|
||||
#endif
|
||||
|
||||
typedef void * timer_handle;
|
||||
|
||||
struct timerlist {
|
||||
|
@ -53,10 +53,7 @@
|
||||
#include "totemconfig.h"
|
||||
#include "print.h"
|
||||
#include "objdb.h"
|
||||
|
||||
#if defined(OPENAIS_BSD) || defined(OPENAIS_DARWIN)
|
||||
#define HZ 100 /* 10ms */
|
||||
#endif
|
||||
#include "tlist.h" /* for HZ */
|
||||
|
||||
#define TOKEN_RETRANSMITS_BEFORE_LOSS_CONST 4
|
||||
#define TOKEN_TIMEOUT 1000
|
||||
|
Loading…
Reference in New Issue
Block a user