Author: hbelusca
Date: Fri Mar 28 01:05:55 2014
New Revision: 62571
URL:
http://svn.reactos.org/svn/reactos?rev=62571&view=rev
Log:
[CMLIB][MKHIVE]
(For host tools compilation only)
Refine the #ifndefs, because SAL v2 annotations do not exist in MSVC < 2010.
Modified:
trunk/reactos/lib/cmlib/cmlib.h
trunk/reactos/tools/mkhive/mkhive.h
Modified: trunk/reactos/lib/cmlib/cmlib.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/cmlib/cmlib.h?rev=6257…
==============================================================================
--- trunk/reactos/lib/cmlib/cmlib.h [iso-8859-1] (original)
+++ trunk/reactos/lib/cmlib/cmlib.h [iso-8859-1] Fri Mar 28 01:05:55 2014
@@ -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_
Modified: trunk/reactos/tools/mkhive/mkhive.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/mkhive/mkhive.h?rev=…
==============================================================================
--- trunk/reactos/tools/mkhive/mkhive.h [iso-8859-1] (original)
+++ trunk/reactos/tools/mkhive/mkhive.h [iso-8859-1] Fri Mar 28 01:05:55 2014
@@ -130,12 +130,13 @@
#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 */