Index: /trunk/include/VBox/com/AutoLock.h
===================================================================
--- /trunk/include/VBox/com/AutoLock.h	(revision 26745)
+++ /trunk/include/VBox/com/AutoLock.h	(revision 26746)
@@ -36,6 +36,6 @@
 // macros for automatic lock validation; these will amount to nothing
 // unless lock validation is enabled for the runtime
-#if defined(RT_LOCK_STRICT) && defined (DEBUG)
-#define VBOX_WITH_MAIN_LOCK_VALIDATION
+#if defined(RT_LOCK_STRICT)
+# define VBOX_WITH_MAIN_LOCK_VALIDATION
 # define COMMA_LOCKVAL_SRC_POS , RT_SRC_POS
 # define LOCKVAL_SRC_POS_DECL RT_SRC_POS_DECL
