summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorAdam <Adam@drink-coca-cola.info>2010-05-15 03:27:09 -0400
committerAdam <Adam@anope.org>2010-06-18 21:02:12 -0400
commit2a22d9c2fdf6978858055f1143af0ec40e417424 (patch)
tree29e9665007c4245a7a427dc654261473979e115e /src/core
parentc477360dbf45070ff80ad8949a66429fe1ae8414 (diff)
Fixed cmake build, removed version_flags it is no longer need, removed old unneeded defs.h and split up pseudo.h
Diffstat (limited to 'src/core')
-rw-r--r--src/core/os_news.c2
1 files changed, 2 insertions, 0 deletions
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