Index: devel.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/devel/devel.module,v
retrieving revision 1.449
diff -u -r1.449 devel.module
--- devel.module	27 Oct 2010 08:23:25 -0000	1.449
+++ devel.module	27 Oct 2010 09:19:43 -0000
@@ -567,7 +567,7 @@
   // Don't respond to the error if it was suppressed with a '@'
   if (error_reporting() == 0) return;
 
-  if ($errno & (E_ALL ^ E_NOTICE ^ E_DEPRECATED)) {
+  if ($errno & (E_ALL ^ E_NOTICE ^ (defined('E_DEPRECATED') ? E_DEPRECATED : 0))) {
     // We can't use the PHP E_* constants here as not all versions of PHP have all
     // the constants defined, so for consistency, we just use the numeric equivelant.
     $types = array(
