浏览代码

fixed "T_TABLE_POWER" redefinition

Jiri Kuthan 23 年之前
父节点
当前提交
6087f5f6bc
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      modules/tm/config.h

+ 3 - 0
modules/tm/config.h

@@ -30,9 +30,12 @@
 #ifndef _TM_CONFIG_H
 #define _TM_CONFIG_H
 
+#ifdef _OBSOLETED
+/* moved to hash.h */
 /* always use a power of 2 for hash table size */
 #define T_TABLE_POWER    12
 #define TABLE_ENTRIES    (1 << (T_TABLE_POWER))
+#endif
 
 /* this is where table size is defined now -- sort of
    ugly, core should not be bothered by TM table size,