Index: /trunk/src/VBox/VMM/VMMR3/PDMDevice.cpp
===================================================================
--- /trunk/src/VBox/VMM/VMMR3/PDMDevice.cpp	(revision 92409)
+++ /trunk/src/VBox/VMM/VMMR3/PDMDevice.cpp	(revision 92410)
@@ -279,5 +279,8 @@
         bool fRCEnabled = false;
         if (   (pReg->fFlags & (PDM_DEVREG_FLAGS_R0 | PDM_DEVREG_FLAGS_RC))
-            && !PGMR3IsNemModeEnabled(pVM) /* No ring-0 in simplified memory mode. */ )
+#ifdef VBOX_WITH_PGM_NEM_MODE
+            && !PGMR3IsNemModeEnabled(pVM) /* No ring-0 in simplified memory mode. */
+#endif
+           )
         {
             if (pReg->fFlags & PDM_DEVREG_FLAGS_R0)
