diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-07-07 01:57:09 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-07-07 01:57:09 +0400 |
commit | f9326d594897c20c8614dbb89c91f5d044abd11a (patch) | |
tree | b9c515652a568876221940c8915afde16b91dab8 /src/DSUtil/DSUtil.h | |
parent | a9b52c457ad478cbad9b0f63a12a858258430f5c (diff) |
remove the unneeded _countof define
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5381 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/DSUtil/DSUtil.h')
-rw-r--r-- | src/DSUtil/DSUtil.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/DSUtil/DSUtil.h b/src/DSUtil/DSUtil.h index 934d361ae..fee29c510 100644 --- a/src/DSUtil/DSUtil.h +++ b/src/DSUtil/DSUtil.h @@ -240,10 +240,6 @@ template <typename T> __inline void INITDDSTRUCT(T& dd) dd.dwSize = sizeof(dd);
}
-#ifndef _countof
-#define _countof(array) (sizeof(array)/sizeof(array[0]))
-#endif
-
template <class T>
static CUnknown* WINAPI CreateInstance(LPUNKNOWN lpunk, HRESULT* phr)
{
|