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:
parent
4c62b4760e
commit
f853b15cc7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue