summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/r0drv/nt/the-nt-kernel.h
diff options
context:
space:
mode:
authorFelix Geyer <fgeyer@debian.org>2013-01-25 18:09:04 +0100
committerFelix Geyer <fgeyer@debian.org>2013-01-25 18:09:04 +0100
commit490244144bf10ecd165f2f81f2c88b7781c91d85 (patch)
tree7bc392b380dda58cfee860a4db82fc1b133ac663 /src/VBox/Runtime/r0drv/nt/the-nt-kernel.h
parentb0bc77b9da451781ff6b93f0e1b470f2bd41537c (diff)
downloadvirtualbox-490244144bf10ecd165f2f81f2c88b7781c91d85.tar.gz
Imported Upstream version 4.2.6-dfsgupstream/4.2.6-dfsg
Diffstat (limited to 'src/VBox/Runtime/r0drv/nt/the-nt-kernel.h')
-rw-r--r--src/VBox/Runtime/r0drv/nt/the-nt-kernel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/VBox/Runtime/r0drv/nt/the-nt-kernel.h b/src/VBox/Runtime/r0drv/nt/the-nt-kernel.h
index 3da03794c..f84e515b7 100644
--- a/src/VBox/Runtime/r0drv/nt/the-nt-kernel.h
+++ b/src/VBox/Runtime/r0drv/nt/the-nt-kernel.h
@@ -29,6 +29,9 @@
#include <iprt/cdefs.h>
+#if defined(RT_ARCH_X86) && !defined(NO_INTERLOCKED_INTRINSICS)
+# define NO_INTERLOCKED_INTRINSICS /* avoid trouble */
+#endif
#if (_MSC_VER >= 1400) && !defined(VBOX_WITH_PATCHED_DDK)
# include <iprt/asm.h>
# define _InterlockedExchange _InterlockedExchange_StupidDDKVsCompilerCrap