UsbDk: Introduce ARRAY_SIZE macro for kernel mode
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
This commit is contained in:
parent
e4e10ca028
commit
4e201d269f
1 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,8 @@
|
|||
#include <ntddk.h>
|
||||
#include <Ntstrsafe.h>
|
||||
|
||||
#define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0]))
|
||||
|
||||
class CWdmSpinLock
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue