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:
Fabien Thomas 2007-06-12 16:43:50 +00:00
parent 2e4394413d
commit b392956ef4
2 changed files with 5 additions and 4 deletions

View File

@ -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 {

View File

@ -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