mirror of
https://github.com/reactos/reactos.git
synced 2024-10-03 07:53:49 +00:00
Fix MSVC compilation with NT4 ddk.
svn path=/trunk/; revision=26146
This commit is contained in:
parent
1f7253af8d
commit
1f06d767be
|
@ -17,6 +17,20 @@
|
|||
|
||||
#include <ntddk.h>
|
||||
#include <stdio.h>
|
||||
|
||||
// NT4 DDK-compatibility
|
||||
#ifndef RTL_CONSTANT_STRING
|
||||
# define RTL_CONSTANT_STRING(s) { sizeof( s ) - sizeof( (s)[0] ), sizeof( s ), s }
|
||||
#endif
|
||||
|
||||
#ifndef OBJ_KERNEL_HANDLE
|
||||
# define OBJ_KERNEL_HANDLE 0x00000200L
|
||||
#endif
|
||||
|
||||
#ifndef FILE_DEVICE_SECURE_OPEN
|
||||
# define FILE_DEVICE_SECURE_OPEN 0x00000100
|
||||
#endif
|
||||
|
||||
#include "debug.h"
|
||||
#include "usb.h"
|
||||
#include "hcd.h"
|
||||
|
|
Loading…
Reference in a new issue