Просмотр исходного кода

HZ not always defined on all Linux systems.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1433 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 18 лет назад
Родитель
Сommit
69b128e700
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      exec/tlist.h

+ 1 - 1
exec/tlist.h

@@ -45,7 +45,7 @@
 
 
 #include "../include/list.h"
 #include "../include/list.h"
 
 
-#if defined(OPENAIS_BSD) || defined(OPENAIS_DARWIN)
+#ifndef HZ
 	#define HZ 100  /* 10ms */
 	#define HZ 100  /* 10ms */
 #endif
 #endif