mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 12:29:56 +00:00
[CMLIB][MKHIVE]
Move some defines where they belong (they are used in mkhive because they are employed in cmlib functions, and cmlib itself uses them too). svn path=/trunk/; revision=62592
This commit is contained in:
parent
b7737eacf1
commit
e2359b3724
2 changed files with 8 additions and 17 deletions
|
@ -27,12 +27,20 @@
|
|||
#define _In_
|
||||
#define _Out_
|
||||
#define _Inout_
|
||||
#define _In_opt_
|
||||
#define _In_range_(x, y)
|
||||
#endif
|
||||
|
||||
#define __drv_aliasesMem
|
||||
|
||||
#ifndef min
|
||||
#define min(a, b) (((a) < (b)) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
// #ifndef max
|
||||
// #define max(a, b) (((a) > (b)) ? (a) : (b))
|
||||
// #endif
|
||||
|
||||
// Definitions copied from <ntstatus.h>
|
||||
// We only want to include host headers, so we define them manually
|
||||
#define STATUS_SUCCESS ((NTSTATUS)0x00000000)
|
||||
|
|
|
@ -122,21 +122,4 @@ RegOpenKeyW(
|
|||
extern LIST_ENTRY CmiHiveListHead;
|
||||
#define ABS_VALUE(V) (((V) < 0) ? -(V) : (V))
|
||||
|
||||
#ifndef max
|
||||
#define max(a, b) (((a) > (b)) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
#ifndef min
|
||||
#define min(a, b) (((a) < (b)) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
#if (!defined(_MSC_VER) || (_MSC_VER < 1500))
|
||||
#define _In_
|
||||
#define _Out_
|
||||
#define _In_opt_
|
||||
#define _In_range_(x, y)
|
||||
#endif
|
||||
|
||||
#define __drv_aliasesMem
|
||||
|
||||
/* EOF */
|
||||
|
|
Loading…
Reference in a new issue