A working COUNTOF would be nice

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6131 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2010-11-15 18:17:41 +00:00
parent 4c62b4760e
commit f853b15cc7

View file

@ -73,7 +73,7 @@ TCHAR *GetResultStr(SystemProc *proc)
#ifdef SYSTEM_LOG_DEBUG
#ifndef COUNTOF
#define COUNTOF(a) ( sizeof(a) / (a[0]) )
#define COUNTOF(a) ( sizeof(a) / sizeof(a[0]) )
#endif
// System log debugging turned on