Cleanly support debug packages
[zfs.git] / include / sys / zfs_debug.h
index e83b661..591d0df 100644 (file)
@@ -36,7 +36,7 @@
 /*
  * ZFS debugging - Always enabled for user space builds.
  */
-#if defined(DEBUG) || !defined(_KERNEL)
+#if !defined(ZFS_DEBUG) && !defined(_KERNEL)
 #define        ZFS_DEBUG
 #endif