mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/win32-vd_agent
synced 2026-02-01 19:38:56 +00:00
mingw: don't redefine CTL_CODE if it's already defined
This commit is contained in:
parent
ff0a9e72b3
commit
c006de51f6
@ -24,9 +24,12 @@
|
||||
#define METHOD_BUFFERED 0
|
||||
#define FILE_ANY_ACCESS 0
|
||||
|
||||
#ifndef CTL_CODE
|
||||
//With mingw, this is defined in winioctl.h
|
||||
#define CTL_CODE(DeviceType, Function, Method, Access) ( \
|
||||
((DeviceType) << 16) | ((Access) << 14) | ((Function) << 2) | (Method) \
|
||||
)
|
||||
#endif
|
||||
|
||||
#define FIRST_AVAIL_IO_FUNC 0x800
|
||||
#define RED_TUNNEL_CTL_FUNC FIRST_AVAIL_IO_FUNC
|
||||
|
||||
Loading…
Reference in New Issue
Block a user