This belongs into ntdef.h


Am 07.03.2012 20:46, schrieb [email protected]:
Author: pschweitzer
Date: Wed Mar  7 19:46:16 2012
New Revision: 56077

URL: http://svn.reactos.org/svn/reactos?rev=56077&view=rev
Log:
[DDK]
Fix release build?

Modified:
     trunk/reactos/include/ddk/wdm.h

Modified: trunk/reactos/include/ddk/wdm.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/wdm.h?rev=56077&r1=56076&r2=56077&view=diff
==============================================================================
--- trunk/reactos/include/ddk/wdm.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/wdm.h [iso-8859-1] Wed Mar  7 19:46:16 2012
@@ -128,6 +128,16 @@
  #define ALLOC_DATA_PRAGMA 1
  #endif

+/* Add NOP_FUNCTION support */
+#ifndef NOP_FUNCTION&&  (_MSC_VER>= 1210)
+#define NOP_FUNCTION __noop
+#else
+#define NOP_FUNCTION (void)0
+#endif
+#else
+#ifndef NOP_FUNCTION
+#define NOP_FUNCTION (void)0
+#endif
  #endif

  #if defined(_WIN64)





_______________________________________________
Ros-dev mailing list
[email protected]
http://www.reactos.org/mailman/listinfo/ros-dev

Reply via email to