[CMLIB][MKHIVE]

(For host tools compilation only)
Refine the #ifndefs, because SAL v2 annotations do not exist in MSVC < 2010.

svn path=/trunk/; revision=62571
This commit is contained in:
Hermès Bélusca-Maïto 2014-03-28 01:05:55 +00:00
parent 0b12bc780b
commit a7116b25de
2 changed files with 3 additions and 2 deletions

View file

@ -23,7 +23,7 @@
#define strcasecmp _stricmp
#endif//_WIN32
#ifndef _MSC_VER
#if (!defined(_MSC_VER) || (defined(_MSC_VER) && (_MSC_VER < 1600)))
#define _In_
#define _Out_
#define _Inout_

View file

@ -130,12 +130,13 @@ extern LIST_ENTRY CmiHiveListHead;
#define min(a, b) (((a) < (b)) ? (a) : (b))
#endif
#ifndef _MSC_VER
#if (!defined(_MSC_VER) || (defined(_MSC_VER) && (_MSC_VER < 1600)))
#define _In_
#define _Out_
#define _In_opt_
#define _In_range_(x, y)
#endif
#define __drv_aliasesMem
/* EOF */