From 2a22d9c2fdf6978858055f1143af0ec40e417424 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 15 May 2010 03:27:09 -0400 Subject: Fixed cmake build, removed version_flags it is no longer need, removed old unneeded defs.h and split up pseudo.h --- src/core/os_news.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core') diff --git a/src/core/os_news.c b/src/core/os_news.c index 30ae8a090..68cb827f9 100644 --- a/src/core/os_news.c +++ b/src/core/os_news.c @@ -14,6 +14,8 @@ #include "module.h" +#define lenof(a) (sizeof(a) / sizeof(*(a))) + /* List of messages for each news type. This simplifies message sending. */ #define MSG_SYNTAX 0 -- cgit