diff packages/hal/common/current/tests/cache.c @ 161:ac086aa3217e

Merge from eCos master repository on 2001-06-08-21:11:51-BST
author jlarmour
date Sun, 10 Jun 2001 19:35:23 +0000
parents bf00f99aec69
children e0c0827131d1
line wrap: on
line diff
--- a/packages/hal/common/current/tests/cache.c
+++ b/packages/hal/common/current/tests/cache.c
@@ -23,7 +23,7 @@
 //                                                                          
 // The Initial Developer of the Original Code is Red Hat.                   
 // Portions created by Red Hat are                                          
-// Copyright (C) 1998, 1999, 2000 Red Hat, Inc.                             
+// Copyright (C) 1998, 1999, 2000, 2001 Red Hat, Inc.                             
 // All Rights Reserved.                                                     
 // -------------------------------------------                              
 //                                                                          
@@ -45,7 +45,7 @@
 #include <cyg/hal/hal_intr.h>
 #include <cyg/infra/diag.h>
 
-#if (HAL_DCACHE_SIZE > 0)
+#ifdef HAL_DCACHE_SIZE
 
 // -------------------------------------------------------------------------
 // If the HAL does not supply this, we supply our own version
@@ -211,9 +211,9 @@ cyg_start( void )
     cache_main();
 }
 
-#else // (HAL_DCACHE_SIZE > 0)
+#else // HAL_DCACHE_SIZE
 #define N_A_MSG "No cache"
-#endif // (HAL_DCACHE_SIZE > 0)
+#endif // HAL_DCACHE_SIZE
 
 #ifdef N_A_MSG
 externC void